Commit Graph
91 Commits
Author SHA1 Message Date
Oliver RiceandCharis 5deecaa44c Add docs for pgmq (#29232)
* add docs for pgmq

* make prettier happy

* Update apps/docs/content/guides/database/extensions/pgmq.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* create extension -> create schema

* pgmq is not relocatable

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-09-11 20:12:56 +00:00
Oliver Rice 88e2bc55d2 Add docs for pg_partman extension (#29206)
add pg_partman docs
2024-09-11 14:53:06 -05:00
Myungwoo Song 238cb2ca39 docs: Update joins-and-nesting.mdx (#29125) 2024-09-06 13:40:36 +00:00
Thomas Vollstädt da883f7e6a doc: Fix reference to non-existant schema in SQL snippet of "Custom Claims & RBAC" (#28716)
Fix reference to non-existant schema in SQL snippet

The original example snipped references a schema `public.users` that does not exist by default. We could either add it here as well, or simply reference the `auth` schema for simplicity.
2024-09-03 19:35:38 +00:00
359699ac0c updated custom postgres configs docs (#28932)
* updated custom postgres configs docs

* moved custom configs to database docs. Added back all system level variables

* Apply suggestions from code review

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* Update apps/docs/content/guides/database/custom-postgres-config.mdx

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>

* updated language around user contexts

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2024-09-03 15:18:27 -04:00
Rodrigo Mansueli 73aae6172c chore: improve edge function example in pg_cron (#29067)
* chore: improve edge function example in pg_cron

* Update pg_cron.mdx
2024-09-03 18:41:42 +00:00
Alireza Zamani 2cdaa311da docs: add missed "to" (#28890) 2024-08-29 12:42:18 +00:00
Peter 95b3ed1789 docs: Fix Function level timeout SQL in timeout docs (#28886)
Fix Function level timeout SQL
2024-08-26 15:23:10 -05:00
Peter 1a193e5713 docs: Add tip to reload postgrest for timeout changes if using API calls (#28741)
Add tip for postgrest reload for timeout changes for client api calls
2024-08-26 09:12:26 -05:00
Guilherme Souza 9cf5f9168c docs: add missing python examples on guides (#28750) 2024-08-26 08:07:33 -03:00
0ac056dd5d Add resource links to RLS docs pages (#22465)
* add resource links to both RLS pages

* Merge master resolve conflicts

* Update apps/docs/content/guides/database/postgres/row-level-security.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-16 10:25:17 +07:00
4574951962 docs: warn about user_metadata used in RLS (#21561)
* docs: warn about `user_metadata` used in RLS

Adds a warning to the Row Level Security page that using `user_metadata` can be insecure.

* Update apps/docs/content/guides/auth/row-level-security.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-08-15 16:53:13 +08:00
Monica KhouryandJoshen Lim d0ef81f403 Docs: update Roles guide to add more info to changing password section (#18331)
* Docs: add more info to changing password section

* Merge master resolve conflicts

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 15:57:45 +08:00
Charis 50872f6d1b fix(docs): link (#28638) 2024-08-14 12:16:40 -04:00
TheOtherBrian1 382579b3f8 Update timeouts.mdx (#28568) 2024-08-12 23:51:37 +00:00
Bo LuandCharis Lam 4c6f93f253 docs: add Snowflake and Paddle foreign data wrappers (#28305)
* docs: add Snowflake and Paddle foreign data wrappers

* docs: add links to left nav menu

* add wasm fdw intro

* fix: inline code wrapping in table cells

* adjust wording

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-08-02 10:37:54 +10:00
CharisandBrian Brennglass a351b10861 adding timeouts to docs (#28197)
* adding timeouts to docs

* edits and rearrangement

* format

---------

Co-authored-by: Brian Brennglass <brian@Brians-MacBook-Pro.local>
2024-07-31 18:25:40 -03:00
Heloi Neto 00832a7d7d fix SQL typo in query-optimization.mdx (#28170) 2024-07-26 19:58:51 +00:00
Jayden W 6aea5cb558 docs: Fixed typescript/jest testing repo link (#28124) 2024-07-23 21:32:17 +00:00
PeterandCharis 16856af11e docs: relocating schema guide for PostGIS (#28108)
* Add guide to relocate schema

* Cleanup text

* Update apps/docs/content/guides/database/extensions/postgis.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* run prettier on PostGIS doc

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-22 17:18:22 -05:00
Chris Gwilliams 77529b234b Remove mention of safeupdate temporarily (#28013)
remove mention of safeupdate temporarily
2024-07-22 11:42:21 +01:00
mio256 8f616dfee3 docs: row-level-security.mdx, syntax error in create table user_id field (#28055)
Update row-level-security.mdx

syntax in create table user_id field
2024-07-19 20:12:27 +00:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00
Charis 161ba3da32 docs: document more ways to secure the data api (#27756)
Document ways to increase the security of Data API, including:

- Disabling it entirely
- Exposing a custom schema instead of the `public` schema

Also found a duplicated link in the nav for CLS, so removed it.
2024-07-03 12:32:16 +00:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Jitesh Yadav 0a1476024f Update joins-and-nesting.mdx (#27311)
I have changed the text description of the ON clause  section and added the code for kotlin and  GraphQL.
2024-07-01 23:32:08 +00:00
GaryAustin1 85de650034 Invalid SQL syntax in rls bypass section (#27738)
Unless there is some new SQL I'm not familiar the code shown:
`grant bypassrls on "table_name" to "role_name";`
Will not work and instead should be:
`alter role "role_name" with bypassrls;`
2024-07-01 17:54:54 -04:00
Vojtech NovakandCharis 6f9b470da3 docs: document testing with higher-level tools (#26924)
* docs: document testing with higher-level tools

* Update apps/docs/content/guides/database/testing.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 19:25:57 +00:00
Bo Lu 11315e987a docs: add Wrappers API access security suggestion (#27514)
* docs: add wrappers security suggestion and example
2024-06-28 18:54:22 +10:00
Thor 雷神 SchaeffandFrancesco Sansalvadore 7e998139a9 [DO NOT MERGE] blog: postgis vector tiles (#27436)
* chore: update postgis docs dedicated schema.

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-06-26 15:57:49 +02:00
rogersm-uwoshandCharis 31adc2a8e9 Update connecting-to-postgres.mdx to mention clients (#27400)
It seems (I am not an expert by any means) that beyond the 3 strategies described here, you can also connect to Supabase using the clients -- but that doesn't get mentioned here. For those just learning Supabase, like me, I feel like this would make the documentation clearer.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-20 21:04:41 +00:00
Charis 87068b1967 fix(docs): clarify function revokes (#27256) 2024-06-13 19:56:11 +00:00
Tyler b4e3f47008 docs: Add Flutter / Dart sample codes into the guides. (#27106)
* docs: Adds Dart sample code into using custom schemas guide

* Add Flutter code to OAuth docs

* docs: Add sign out Flutter code to the OAuth guides

* Add Flutter code samples to the auth guides

* docs: Add Flutter code samples to storage docs

* docs: align all Flutter sample code to say Flutter instead of Dart

* docs: sort clean up Flutter and Dart labels

* docs: minor sample code fix

* run prettier
2024-06-11 14:05:52 +09:00
Joel Lee 7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Peter 9fd79a410c docs: Update pgAdmin connection guide (#26955)
Update pgAdmin connection guide
2024-06-06 12:18:14 -05:00
Tyler 1cb2d90727 docs: Add JSON and pg_jsonschema videos to the docs (#26926)
docs: add json query video and pg_jsonschema video to the relevant docs page
2024-06-05 00:58:58 +09:00
f00fandCharis c4f90f68cc Update uuid-ossp.mdx (#26965)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:28:57 +00:00
Michael ChicheandCharis e9750aa07c Update custom-claims-and-role-based-access-control-rbac.mdx (#26948)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 03:22:00 +00:00
Jon Meyers d376fee166 Move embedded video to ToC (#26905)
move embedded video to toc
2024-05-31 14:55:06 +08:00
Felix GablerandThor 雷神 Schaeff 2a7bc47057 Update docs to maybe optimize RBAC functions performance (#22894)
docs: optimize RBAC functions performance

Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-05-30 08:07:07 +00:00
Inian 94c1973752 fix sql in pg_graphql example (#26880) 2024-05-30 15:47:52 +08:00
Jon Meyers 068d822568 Add indexing video embed to database docs page (#26745)
add indexing video embed
2024-05-24 17:23:36 +02:00
TheOtherBrian1andCharis a5785afba6 Add note about security definer views (#26571)
* Add note about security definer views

* expand acronym

* Update apps/docs/content/guides/database/tables.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-23 03:38:42 +00:00
Thibault CHAUSSONandCharis f5324af575 📝 Update pg_cron documentation with examples for calling function (#26186)
📝  Update pg_cron documentation with examples for calling database functions and stored procedures

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 02:08:52 +00:00
Tyler FontaineandAlaister Young c97ddaafe3 Update index_advisor.mdx (#26511)
* Update index_advisor.mdx

Fix universal dashboard link to query-performance

* escape underscores

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-05-22 00:04:37 +00:00
hallidayoandCharis e606e1e5ca docs: metadata changes (#26626)
metadata changes

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:29:06 +00:00
raaedandCharis 29d96774fd Update row-level-security.mdx (#26155)
Fix typo: add missing "to"

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-13 18:58:30 +00:00
Wen Bo Xie db24eb2e90 fix: revert renaming vector to pgvector on the client (#25911)
* Revert "docs: rename vector to pgvector (#23308)"

This reverts commit c30d5f0b1f.

* Revert "docs: update vector reference to pgvector (#23305)"

This reverts commit b2bae1351c.

* Revert "Fix vector extension (#23386)"

This reverts commit 7341b30c27.

* Revert "Rename vector to pgvector on client side (#23286)"

This reverts commit b48b6e201b.

* docs: add note to pgvector docs that ext name is vector

* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
mitch-36andCharis aefb7d2c2c [DOCS] Update webhooks to note GET requests are possible too. (#25912)
Update webhooks.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-09 17:17:07 +00:00
Daniel Perez e7b4e0da2b Fix typo in timescaledb documentation (#25884) 2024-05-08 15:01:45 +00:00