Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 63f3a0b

Browse files
author
Commitfest Bot
committed
[CF 5771] v1 - Add README for catalog
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5771 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/8BEEFD99-E003-460B-8141-6EBC08BAB116@gmail.com Author(s): Florents Tselai
2 parents 03c53a7 + a15a1a4 commit 63f3a0b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/include/catalog/README

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Catalog
2+
3+
For more details see https://www.postgresql.org/docs/current/bki.html
4+
5+
Below are some checklists for common scenarios.
6+
7+
## Adding a New Built-in SQL Command
8+
9+
1. Implement the function in C and place it in the appropriate directory under `src` (typically in `src/utils/adt`)
10+
2. Each function should have a unique integer OID. Run the script `src/include/catalog/unused_oids` to find available ranges.
11+
3. Add the entry to `pg_proc.dat` following the surrounding conventions.

0 commit comments

Comments
 (0)