postgresql-18-docs
Skill7 starsChanged 15 days agoMITView on GitHub
Official PostgreSQL 18 documentation, answered with links to the exact pages. Use for PostgreSQL 18 questions, or version-unspecified ones when 18 is the target, including SQL and indexes, transactions and locking, configuration, roles and authentication, backup and replication, or PL/pgSQL and extensions.
In this repository69 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- caching-strategiesSkill
- database-normalizationSkill
- design-patternsSkill
- object-oriented-programming-paradigmSkill
- aadc-complianceSkill
- app-store-complianceSkill
- ccpa-cpra-complianceSkill
- coppa-complianceSkill
- dpdp-complianceSkill
- eprivacy-complianceSkill
- eu-ai-act-complianceSkill
- eu-dsa-complianceSkill
- gdpr-complianceSkill
- hipaa-hds-complianceSkill
- lgpd-complianceSkill
- pci-dss-complianceSkill
- pipeda-law25-complianceSkill
- pipl-csl-complianceSkill
- psd2-sca-complianceSkill
- uk-gdpr-complianceSkill
- us-state-privacy-complianceSkill
- world-wide-complianceSkill
- aws-cli-docsSkill
- aws-dynamodb-docsSkill
- aws-ecs-docsSkill
- aws-eks-docsSkill
- aws-iam-docsSkill
- aws-lambda-docsSkill
- aws-s3-docsSkill
- bullmq-docsSkill
- cassandra-docsSkill
- django-docsSkill
- docker-docsSkill
- elasticsearch-docsSkill
- expressjs-docsSkill
- fastapi-docsSkill
- fastify-docsSkill
- firebase-docsSkill
- flask-docsSkill
- git-docsSkill
- github-actions-docsSkill
- gitlab-ci-docsSkill
- grafana-docsSkill
- graphql-docsSkill
- helm-docsSkill
- kafka-docsSkill
- kubernetes-docsSkill
- mongodb-docsSkill
- mysql-docsSkill
- nestjs-docsSkill
- nginx-docsSkill
- opensearch-docsSkill
- opentelemetry-docsSkill
- phoenix-docsSkill
- pinecone-docsSkill
- postgresql-16-docsSkill
- postgresql-17-docsSkill
- qdrant-docsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Check settings and syntax against the PostgreSQL 18 release notes.
- Distinctive: line 31
Check ORM or driver bugs against the client interface docs before attributing them to the server.
- Very specific: line 32
Use GENERATED ... AS IDENTITY for new designs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PostgreSQL 18 Docs
PostgreSQL settings and syntax change between major versions, so ground each answer in the live PostgreSQL 18 docs at https://www.postgresql.org/docs/18/, not memory, and link the exact page behind every claim.
Route PostgreSQL 16 and 17 questions to postgresql-16-docs and postgresql-17-docs, MySQL to mysql-docs, and MongoDB to mongodb-docs. When the user names no version, say you are answering from PostgreSQL 18 and offer to switch. ORM configuration belongs to the framework's own docs, and managed-cloud consoles to the provider's docs, unless the question turns on PostgreSQL behavior.
Workflow
- Locate the question in
references/topic-map.md, a selective index of docs entry points. Done when each part of the question maps to a section of the map, or you have noted that none fits. - Search
postgresql.org/docs/18with the user's exact terms plus PostgreSQL vocabulary such asMVCC,logical replication,runtime-config,EXPLAIN, orpg_hba.conf, starting from the map's pages and the Routing rules below. Done when you hold the one page that most directly answers each part. - Read each page down to the relevant section. Done when you have read the passage behind every claim you will make. When a page has moved, been renamed, or stops short, say so and link the nearest authoritative pages.
- Answer with the direct answer first, each docs link beside the claim it supports, and SQL,
postgresql.conforpg_hba.confexamples only when the user asks or the page needs them. Mark any conclusion that joins several pages asInference:. Done when every claim cites a specific page, not the docs home.
Routing
- Version-specific behavior: the PostgreSQL 18 release notes.
- Performance: the performance tips, parallel query, indexes, and planner statistics docs.
- Locking or transactions: the concurrency control and transaction processing docs.
- Access control: the client authentication, database roles, and privileges docs.
- Replication: tell physical replication, logical replication, and logical decoding apart before answering.
- Extensions or procedural languages: the server programming docs and the contrib appendix.
Gotchas
- Check settings and syntax against the PostgreSQL 18 release notes; older major versions lack settings and syntax that 18 adds.
- Check ORM or driver bugs against the client interface docs before attributing them to the server.
- Use
GENERATED ... AS IDENTITYfor new designs; the docs treatSERIALas a legacy pattern.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

