Skip to content

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

fix: extension links

Dylan Johnson450b83fa81f2
diff --git a/apps/docs/components/Extensions.tsx b/apps/docs/components/Extensions.tsx
index b7b7260cd64..4cd04e76e72 100644
--- a/apps/docs/components/Extensions.tsx
+++ b/apps/docs/components/Extensions.tsx
@@ -3,14 +3,14 @@ import React, { useState } from 'react'
import { GlassPanel, IconLink, IconX, Input } from 'ui'
import extensions from '../data/extensions.json'
-type extension = {
+type Extension = {
name: string
comment: string
tags: string[]
link?: string
}
-function getUniqueTags(json: extension[]) {
+function getUniqueTags(json: Extension[]): string[] {
const tags = []
for (const item of json) {
if (item.tags) {
@@ -21,12 +21,12 @@ function getUniqueTags(json: extension[]) {
}
export default function Extensions() {
- const [searchTerm, setSearchTerm] = useState('')
- const [filters, setFilters] = useState([])
+ const [searchTerm, setSearchTerm] = useState<string>('')
+ const [filters, setFilters] = useState<string[]>([])
const tags = getUniqueTags(extensions)
- function handleChecked(tag) {
+ function handleChecked(tag: string) {
if (filters.includes(tag)) {
setFilters(filters.filter((x) => x !== tag))
} else {
@@ -98,8 +98,8 @@ export default function Extensions() {
passHref
href={`${
extension.link
- ? `/guides/database/extensions/${extension.name}`
- : '/guides/database/extensions#full-list-of-extensions'
+ ? extension.link
+ : `/guides/database/extensions/${extension.name}`
}`}
>
<a target={`${extension.link ? '_blank' : '_self'}`} className="no-underline">
diff --git a/apps/docs/data/extensions.json b/apps/docs/data/extensions.json
index c46542b2cfd..95cd6460628 100644
--- a/apps/docs/data/extensions.json
+++ b/apps/docs/data/extensions.json
@@ -3,460 +3,390 @@
"name": "address_standardizer",
"comment": "Used to parse an address into constituent elements. Generally used to support geocoding address normalization step.",
"tags": ["Utility"],
- "link": "http://supabase.com/docs/guides/extensions/etc/etc/etc"
- },
- {
- "name": "address_standardizer-3",
- "comment": "Used to parse an address into constituent elements. Generally used to support geocoding address normalization step.",
- "tags": ["Utility"]
+ "link": "https://postgis.net/docs/manual-2.5/Address_Standardizer.html"
},
{
"name": "address_standardizer_data_us",
"comment": "Address Standardizer US dataset example",
- "tags": ["Dataset"]
- },
- {
- "name": "address_standardizer_data_us-3",
- "comment": "Address Standardizer US dataset example",
- "tags": ["Dataset"]
- },
- {
- "name": "adminpack",
- "comment": "administrative functions for PostgreSQL",
- "tags": ["Admin", "Utility"]
+ "tags": ["Dataset"],
+ "link": "https://postgis.net/docs/manual-2.5/Address_Standardizer.html"
},
{
"name": "amcheck",
"comment": "functions for verifying relation integrity",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/amcheck.html"
},
{
"name": "autoinc",
"comment": "functions for autoincrementing fields",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/contrib-spi.html#id-1.11.7.50.6"
},
{
"name": "bloom",
"comment": "bloom access method - signature file based index",
- "tags": ["Index"]
+ "tags": ["Index"],
+ "link": "https://www.postgresql.org/docs/current/bloom.html"
},
{
"name": "btree_gin",
"comment": "support for indexing common datatypes in GIN",
- "tags": ["Index"]
+ "tags": ["Index"],
+ "link": "https://www.postgresql.org/docs/current/btree-gin.html"
},
{
"name": "btree_gist",
"comment": "support for indexing common datatypes in GiST",
- "tags": ["Index"]
+ "tags": ["Index"],
+ "link": "https://www.postgresql.org/docs/current/btree-gist.html"
},
{
"name": "citext",
"comment": "data type for case-insensitive character strings",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/citext.html"
},
{
"name": "cube",
"comment": "data type for multidimensional cubes",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/cube.html"
},
{
"name": "dblink",
"comment": "connect to other PostgreSQL databases from within a database",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/contrib-dblink-function.html"
},
{
"name": "dict_int",
"comment": "text search dictionary template for integers",
- "tags": ["Search"]
+ "tags": ["Search"],
+ "link": "https://www.postgresql.org/docs/current/dict-int.html"
},
{
"name": "dict_xsyn",
"comment": "text search dictionary template for extended synonym processing",
- "tags": ["Search"]
+ "tags": ["Search"],
+ "link": "https://www.postgresql.org/docs/current/dict-xsyn.html"
},
{
"name": "earthdistance",
"comment": "calculate great-circle distances on the surface of the Earth",
- "tags": ["Geo", "Utility"]
- },
- {
- "name": "file_fdw",
- "comment": "foreign-data wrapper for flat file access",
- "tags": ["Admin", "Utility"]
+ "tags": ["Geo", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/earthdistance.html"
},
{
"name": "fuzzystrmatch",
"comment": "determine similarities and distance between strings",
- "tags": ["Search"]
+ "tags": ["Search"],
+ "link": "https://www.postgresql.org/docs/current/fuzzystrmatch.html"
},
{
"name": "hstore",
"comment": "data type for storing sets of (key, value) pairs",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/hstore.html"
},
{
"name": "hypopg",
"comment": "Hypothetical indexes for PostgreSQL",
- "link": "https://supabase.com/docs/guides/database/extensions/hypopg",
"tags": ["Admin", "Index"]
},
{
"name": "http",
"comment": "HTTP client for PostgreSQL, allows web page retrieval inside the database.",
- "link": "https://supabase.com/docs/guides/database/extensions/http",
"tags": ["Utility"]
},
{
"name": "insert_username",
"comment": "functions for tracking who changed a table",
- "tags": ["Audit", "Utility"]
+ "tags": ["Audit", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/contrib-spi.html#id-1.11.7.50.7"
},
{
"name": "old_snapshot",
"comment": "utilities in support of old_snapshot_threshold",
- "tags": ["Admin", "Utility"]
- },
- {
- "name": "intagg",
- "comment": "integer aggregator and enumerator (obsolete)",
- "tags": ["Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/oldsnapshot.html"
},
{
"name": "intarray",
"comment": "functions, operators, and index support for 1-D arrays of integers",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/intarray.html"
},
{
"name": "isn",
"comment": "data types for international product numbering standards",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/isn.html"
},
{
"name": "lo",
"comment": "Large Object maintenance",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/lo.html"
},
{
"name": "ltree",
"comment": "data type for hierarchical tree-like structures",
- "tags": ["Data Type"]
+ "tags": ["Data Type"],
+ "link": "https://www.postgresql.org/docs/current/ltree.html"
},
{
"name": "moddatetime",
"comment": "functions for tracking last modification time",
- "tags": ["Audit", "Utility"]
- },
- {
- "name": "pageinspect",
- "comment": "inspect the contents of database pages at a low level",
- "tags": ["Admin", "Utility"]
- },
- {
- "name": "pg_buffercache",
- "comment": "examine the shared buffer cache",
- "tags": ["Admin", "Utility"]
+ "tags": ["Audit", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/contrib-spi.html#id-1.11.7.50.8"
},
{
"name": "pg_cron",
"comment": "Job scheduler for PostgreSQL",
- "link": "https://supabase.com/docs/guides/database/extensions/pgcron",
"tags": ["Utility"]
},
{
"name": "pg_freespacemap",
"comment": "examine the free space map (FSM)",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgfreespacemap.html"
},
{
"name": "pg_graphql",
"comment": "pg_graphql: GraphQL support",
- "link": "https://supabase.com/docs/guides/database/extensions/pg_graphql",
"tags": ["Utility"]
},
{
"name": "pg_hashids",
"comment": "pg_hashids",
- "link": "https://supabase.com/docs/guides/database/extensions/pg_hashids",
"tags": ["Utility"]
},
{
"name": "pg_jsonschema",
"comment": "pg_jsonschema",
- "link": "https://supabase.com/docs/guides/database/extensions/pg_jsonschema",
"tags": ["Utility"]
},
{
"name": "pg_net",
"comment": "Async HTTP",
- "link": "https://supabase.com/docs/guides/database/extensions/pgnet",
"tags": ["Utility", "Notifications"]
},
{
"name": "pg_prewarm",
"comment": "prewarm relation data",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgprewarm.html"
},
{
"name": "pg_stat_monitor",
"comment": "The pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL contrib module pg_stat_statements. pg_stat_monitor provides aggregated statistics, client information, plan details including plan, and histogram information.",
- "link": "https://supabase.com/docs/guides/database/extensions/pg_stat_monitor",
"tags": ["Utility"]
},
{
"name": "pg_stat_statements",
"comment": "track execution statistics of all SQL statements executed",
- "link": "https://supabase.com/docs/guides/database/extensions/pg_stat_statements",
"tags": ["Admin", "Utility"]
},
{
"name": "pg_surgery",
"comment": "extension to perform surgery on a damaged relation",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgsurgery.html"
},
{
"name": "pg_trgm",
"comment": "text similarity measurement and index searching based on trigrams",
- "tags": ["Search"]
- },
- {
- "name": "pg_visibility",
- "comment": "examine the visibility map (VM) and page-level visibility info",
- "tags": ["Admin", "Utility"]
+ "tags": ["Search"],
+ "link": "https://www.postgresql.org/docs/current/pgtrgm.html"
},
{
"name": "pgaudit",
"comment": "provides auditing functionality",
- "link": "https://supabase.com/docs/guides/database/extensions/pgaudit",
"tags": ["Audit", "Utility"]
},
{
"name": "pg_walinspect",
"comment": "functions to inspect contents of PostgreSQL Write-Ahead Log",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgwalinspect.html"
},
{
"name": "pgcrypto",
"comment": "cryptographic functions",
- "tags": ["Utility", "Cryptography"]
+ "tags": ["Utility", "Cryptography"],
+ "link": "https://www.postgresql.org/docs/current/pgcrypto.html"
},
{
"name": "pgjwt",
"comment": "JSON Web Token API for Postgresql",
- "link": "https://supabase.com/docs/guides/database/extensions/pgjwt",
"tags": ["Utility", "Cryptography"]
},
{
"name": "pgroonga",
"comment": "Super fast and all languages supported full text search index based on Groonga",
- "link": "https://supabase.com/docs/guides/database/extensions/pgroonga",
"tags": ["Search"]
},
{
"name": "pgroonga_database",
"comment": "PGroonga database management module",
- "tags": ["Admin"]
+ "tags": ["Admin"],
+ "link": "https://pgroonga.github.io/reference/modules/pgroonga-database.html"
},
{
"name": "pgrouting",
"comment": "pgRouting Extension",
- "link": "https://supabase.com/docs/guides/database/extensions/pgrouting",
"tags": ["Geo", "Utility"]
},
{
"name": "pgrowlocks",
"comment": "show row-level locking information",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgrowlocks.html"
},
{
"name": "pgsodium",
"comment": "Postgres extension for libsodium functions",
- "link": "https://supabase.com/docs/guides/database/extensions/pgsodium",
"tags": ["Utility", "Cryptography"]
},
{
"name": "pgstattuple",
"comment": "show tuple-level statistics",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/pgstattuple.html"
},
{
"name": "pgtap",
"comment": "Unit testing for PostgreSQL",
- "link": "https://supabase.com/docs/guides/database/extensions/pgtap",
"tags": ["Utility", "Testing"]
},
{
"name": "plcoffee",
"comment": "PL/CoffeeScript (v8) trusted procedural language",
- "tags": ["Language"]
+ "tags": ["Language"],
+ "link": "https://github.com/plv8/plv8/blob/master/doc/plv8.md#coffeescript-extension"
},
{
"name": "pljava",
"comment": "PL/Java procedural language (https://tada.github.io/pljava/)",
- "tags": ["Language"]
+ "tags": ["Language"],
+ "link": "https://tada.github.io/pljava/"
},
{
"name": "plls",
"comment": "PL/LiveScript (v8) trusted procedural language",
- "tags": ["Language"]
+ "tags": ["Language"],
+ "link": "https://github.com/plv8/plv8/blob/master/doc/plv8.md#livescript-extension"
},
{
"name": "plpgsql",
"comment": "PL/pgSQL procedural language",
- "tags": ["Language"]
+ "tags": ["Language"],
+ "link": "https://www.postgresql.org/docs/current/plpgsql.html"
},
{
"name": "plpgsql_check",
"comment": "extended check for plpgsql functions",
- "href": "https://supabase.com/docs/guides/database/extensions/plpgsql_check",
"tags": ["Utility", "Testing"]
},
{
"name": "plv8",
"comment": "PL/JavaScript (v8) trusted procedural language",
- "link": "http://localhost:3001/docs/guides/database/extensions/plv8",
"tags": ["Language"]
},
{
"name": "postgis",
"comment": "PostGIS geometry and geography spatial types and functions",
- "link": "https://supabase.com/docs/guides/database/extensions/postgis",
- "tags": ["Geo"]
- },
- {
- "name": "postgis-3",
- "comment": "PostGIS geometry and geography spatial types and functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_raster",
- "comment": "PostGIS raster types and functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_raster-3",
- "comment": "PostGIS raster types and functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_sfcgal",
- "comment": "PostGIS SFCGAL functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_sfcgal-3",
- "comment": "PostGIS SFCGAL functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_tiger_geocoder",
- "comment": "PostGIS tiger geocoder and reverse geocoder",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_tiger_geocoder-3",
- "comment": "PostGIS tiger geocoder and reverse geocoder",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_topology",
- "comment": "PostGIS topology spatial types and functions",
- "tags": ["Geo"]
- },
- {
- "name": "postgis_topology-3",
- "comment": "PostGIS topology spatial types and functions",
"tags": ["Geo"]
},
{
"name": "postgres_fdw",
"comment": "foreign-data wrapper for remote PostgreSQL servers",
- "tags": ["Admin"]
+ "tags": ["Admin"],
+ "link": "https://www.postgresql.org/docs/current/postgres-fdw.html"
},
{
"name": "refint",
"comment": "functions for implementing referential integrity (obsolete)",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/contrib-spi.html#id-1.11.7.50.5"
},
{
"name": "rum",
"comment": "GIN-like index for text search",
- "link": "https://supabase.com/docs/guides/database/extensions/rum",
"tags": ["Index", "Search"]
},
{
"name": "seg",
"comment": "data type for representing line segments or floating-point intervals",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/seg.html"
},
{
"name": "sslinfo",
"comment": "information about SSL certificates",
- "tags": ["Admin", "Utility"]
+ "tags": ["Admin", "Utility"],
+ "link": "https://www.postgresql.org/docs/current/sslinfo.html"
},
{
"name": "supautils",
"comment": "Supabase standard library",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://supabase.github.io/supautils/"
},
{
"name": "tablefunc",
"comment": "functions that manipulate whole tables, including crosstab",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/tablefunc.html"
},
{
"name": "tcn",
"comment": "Triggered change notifications",
- "tags": ["Utility", "Notifications"]
+ "tags": ["Utility", "Notifications"],
+ "link": "https://www.postgresql.org/docs/current/tcn.html"
},
{
"name": "timescaledb",
"comment": "Enables scalable inserts and complex queries for time-series data",
- "link": "https://supabase.com/docs/guides/database/extensions/timescaledb",
"tags": ["Time Series", "Data Type", "Utility"]
},
{
"name": "tsm_system_rows",
"comment": "TABLESAMPLE method which accepts number of rows as a limit",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/tsm-system-rows.html"
},
{
"name": "tsm_system_time",
"comment": "TABLESAMPLE method which accepts time in milliseconds as a limit",
- "tags": ["Utility"]
+ "tags": ["Utility"],
+ "link": "https://www.postgresql.org/docs/current/tsm-system-time.html"
},
{
"name": "unaccent",
"comment": "text search dictionary that removes accents",
- "tags": ["Search"]
+ "tags": ["Search"],
+ "link": "https://www.postgresql.org/docs/current/unaccent.html"
},
{
"name": "uuid-ossp",
"comment": "generate universally unique identifiers (UUIDs)",
- "link": "https://supabase.com/docs/guides/database/extensions/uuid-ossp",
"tags": ["Utility", "Data Type"]
},
{
"name": "pgvector",
"comment": "vector data type with similarity search",
- "link": "https://supabase.com/docs/guides/database/extensions/pgvector",
"tags": ["AI", "Data Type", "Search"]
},
{
"name": "pg_repack",
"comment": "Optimize physical storage and remove bloat from tables and indexes",
- "link": "https://supabase.com/docs/guides/database/extensions/pgrepack",
"tags": ["Admin", "Utility"]
},
{
"name": "wrappers",
"comment": "Foreign data wrappers developed by Supabase",
- "link": "https://supabase.com/docs/guides/database/extensions/wrappers",
"tags": ["Admin", "Utility"]
- },
- {
- "name": "xml2",
- "comment": "XPath querying and XSLT",
- "tags": ["Utility"]
}
]
diff --git a/apps/docs/pages/guides/database/extensions/pgcron.mdx b/apps/docs/pages/guides/database/extensions/pg_cron.mdx
similarity index 99%
rename from apps/docs/pages/guides/database/extensions/pgcron.mdx
rename to apps/docs/pages/guides/database/extensions/pg_cron.mdx
index 8b4b5016c4d..521767b020d 100644
--- a/apps/docs/pages/guides/database/extensions/pgcron.mdx
+++ b/apps/docs/pages/guides/database/extensions/pg_cron.mdx
@@ -1,7 +1,7 @@
import Layout from '~/layouts/DefaultGuideLayout'
export const meta = {
- id: 'pgcron',
+ id: 'pg_cron',
title: 'pg_cron: Job Scheduling',
description:
'pgnet: a simple cron-based job scheduler for PostgreSQL that runs inside the database.',
diff --git a/apps/docs/pages/guides/database/extensions/pgnet.mdx b/apps/docs/pages/guides/database/extensions/pg_net.mdx
similarity index 99%
rename from apps/docs/pages/guides/database/extensions/pgnet.mdx
rename to apps/docs/pages/guides/database/extensions/pg_net.mdx
index 5a93b7a48b5..8510d2c6fe9 100644
--- a/apps/docs/pages/guides/database/extensions/pgnet.mdx
+++ b/apps/docs/pages/guides/database/extensions/pg_net.mdx
@@ -1,7 +1,7 @@
import Layout from '~/layouts/DefaultGuideLayout'
export const meta = {
- id: 'pgnet',
+ id: 'pg_net',
title: 'pg_net: Async Networking',
description: 'pg_net: an async networking extension for PostgreSQL.',
}
diff --git a/apps/docs/pages/guides/database/extensions/pgrepack.mdx b/apps/docs/pages/guides/database/extensions/pg_repack.mdx
similarity index 99%
rename from apps/docs/pages/guides/database/extensions/pgrepack.mdx
rename to apps/docs/pages/guides/database/extensions/pg_repack.mdx
index bea7f7474b2..0225216f320 100644
--- a/apps/docs/pages/guides/database/extensions/pgrepack.mdx
+++ b/apps/docs/pages/guides/database/extensions/pg_repack.mdx
@@ -1,6 +1,7 @@
import Layout from '~/layouts/DefaultGuideLayout'
export const meta = {
+ id: 'pg_repack',
title: 'pg_repack: Physical storage optimization and maintenance',
description:
'A tool to remove bloat from tables and indexes and optimize physical data order and physical storage',
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index 341fdabd2d4..e67fc764458 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -2036,4 +2036,19 @@ module.exports = [
source: '/docs/guides/realtime/extensions/postgres-changes',
destination: '/docs/guides/realtime/postgres-changes',
},
+ {
+ permanent: true,
+ source: '/docs/guides/database/extensions/pgcron',
+ destination: '/docs/guides/database/extensions/pg_cron',
+ },
+ {
+ permanent: true,
+ source: '/docs/guides/database/extensions/pgnet',
+ destination: '/docs/guides/database/extensions/pg_net',
+ },
+ {
+ permanent: true,
+ source: '/docs/guides/database/extensions/pgrepack',
+ destination: '/docs/guides/database/extensions/pg_repack',
+ },
]