Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Hide copy button

Coppleffc502335d74
diff --git a/www/_blog/2021-07-30-supabase-functions-updates.mdx b/www/_blog/2021-07-30-supabase-functions-updates.mdx
index df791a18484..37e7c281c3d 100644
--- a/www/_blog/2021-07-30-supabase-functions-updates.mdx
+++ b/www/_blog/2021-07-30-supabase-functions-updates.mdx
@@ -149,7 +149,7 @@ http_post
After making a request, the extension will return an ID. You can use this ID to collect a response.
-```sql noCopy
+```sql hideCopy
-- Collect the response from a request
select
*
@@ -207,7 +207,7 @@ To build asynchronous behavior, we use a PostgreSQL [background worker](https://
Shout out to [Paul Ramsey](https://github.com/pramsey), who gave us the implementation idea in [pgsql-http](https://github.com/pramsey/pgsql-http/#to-do). While we originally hoped to add background workers to his extension, the implementation became too cumbersome and we decided to start with a clean slate. The advantage of being async can be seen by making some requests with both extensions:
-```sql noCopy
+```sql hideCopy
\timing on
-- using pgsql-http to fetch from "supabase.io" 10 times
diff --git a/www/_blog/2021-11-28-whats-new-in-postgres-14.mdx b/www/_blog/2021-11-28-whats-new-in-postgres-14.mdx
index c56718c8e12..9eaea9c9b5c 100644
--- a/www/_blog/2021-11-28-whats-new-in-postgres-14.mdx
+++ b/www/_blog/2021-11-28-whats-new-in-postgres-14.mdx
@@ -29,7 +29,7 @@ This blog will highlight some key features of the newly available PostgreSQL 14,
PostgreSQL continues to add innovations for complex data types, making JSON data more accessible. In postgreSQL 14, developers can use subscripts to iterate through JSON key pairs and fetch corresponding values. For example, using this capability, nested JSON fields can be quickly traversed to retrieve values to reconstruct application objects.
-```sql noCopy
+```sql hideCopy
select (
'{ "PostgreSQL": { "release": 14 }}'::jsonb
)['PostgreSQL']['release'];
@@ -48,7 +48,7 @@ In PostgreSQL 14, a single insert statement can be used to map data across multi
First, create an enum data type to capture low, medium, and high sensor reading levels.
-```sql noCopy
+```sql hideCopy
create type valid_levels as enum (
'low', 'medium', 'high'
);
@@ -56,7 +56,7 @@ create type valid_levels as enum (
To store sensor reading metric data, create a table consisting of the sensor description, the level and the range of timestamps when the sensor was at that level.
-```sql noCopy
+```sql hideCopy
create table sensor_range (
reading_id serial primary key,
metric_desc varchar(100),