The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: functions config quotes (#29541)
Bobbie Soedirgo1c49f5b8011f
diff --git a/packages/pg-meta/src/pg-meta-functions.ts b/packages/pg-meta/src/pg-meta-functions.tsindex 88dd1e52769..7af10c36d65 100644--- a/packages/pg-meta/src/pg-meta-functions.ts+++ b/packages/pg-meta/src/pg-meta-functions.ts@@ -213,7 +213,7 @@ function _generateCreateFunctionSql(? Object.entries(config_params).map(([param, value]: string[]) =>- `SET ${param} ${value[0] === 'FROM CURRENT' ? 'FROM CURRENT' : 'TO ' + value}`+ `SET ${param} ${value[0] === 'FROM CURRENT' ? 'FROM CURRENT' : 'TO ' + (value === '""' ? "''" : value)}`).join('\n'): ''