Update template files: rename postgresql to postgres

This commit is contained in:
Pedro Rodrigues
2026-01-19 19:52:53 +00:00
parent 06a4e68d30
commit 892387b1b7
3 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
# Writing Guidelines for PostgreSQL Rules # Writing Guidelines for Postgres Rules
This document provides guidelines for creating effective PostgreSQL best This document provides guidelines for creating effective Postgres best
practice rules that work well with AI agents and LLMs. practice rules that work well with AI agents and LLMs.
## Key Principles ## Key Principles
@@ -150,7 +150,7 @@ const posts = await db.query("SELECT * FROM posts WHERE user_id = ANY($1)", [
```` ````
**Balance:** ~10% of content should be Supabase-specific. Core rules should work **Balance:** ~10% of content should be Supabase-specific. Core rules should work
on any PostgreSQL. on any Postgres.
--- ---
@@ -158,16 +158,16 @@ on any PostgreSQL.
**Primary Sources:** **Primary Sources:**
- Official PostgreSQL documentation - Official Postgres documentation
- Supabase documentation - Supabase documentation
- PostgreSQL wiki - Postgres wiki
- Established blogs (2ndQuadrant, Crunchy Data) - Established blogs (2ndQuadrant, Crunchy Data)
**Format:** **Format:**
```markdown ```markdown
Reference: Reference:
[PostgreSQL Indexes](https://www.postgresql.org/docs/current/indexes.html) [Postgres Indexes](https://www.postgresql.org/docs/current/indexes.html)
``` ```
--- ---

View File

@@ -1,14 +1,14 @@
# Section Definitions # Section Definitions
This file defines the rule categories for PostgreSQL best practices. Rules are automatically assigned to sections based on their filename prefix. This file defines the rule categories for Postgres best practices. Rules are automatically assigned to sections based on their filename prefix.
Take the examples below as pure demonstrative. Replace each section with the actual rule categories for PostgreSQL best practices. Take the examples below as pure demonstrative. Replace each section with the actual rule categories for Postgres best practices.
--- ---
## 1. Query Performance (query) ## 1. Query Performance (query)
**Impact:** CRITICAL **Impact:** CRITICAL
**Description:** Slow queries, missing indexes, inefficient query plans. The most common source of PostgreSQL performance issues. **Description:** Slow queries, missing indexes, inefficient query plans. The most common source of Postgres performance issues.
## 2. Connection Management (conn) ## 2. Connection Management (conn)
**Impact:** CRITICAL **Impact:** CRITICAL
@@ -36,4 +36,4 @@ Take the examples below as pure demonstrative. Replace each section with the act
## 8. Advanced Features (advanced) ## 8. Advanced Features (advanced)
**Impact:** LOW **Impact:** LOW
**Description:** Full-text search, JSONB optimization, PostGIS, extensions, and advanced PostgreSQL features. **Description:** Full-text search, JSONB optimization, PostGIS, extensions, and advanced Postgres features.

View File

@@ -31,4 +31,4 @@ SELECT * FROM users WHERE email = 'user@example.com' AND deleted_at IS NULL;
[Optional: Additional context, edge cases, or trade-offs] [Optional: Additional context, edge cases, or trade-offs]
Reference: [PostgreSQL Docs](https://www.postgresql.org/docs/current/) Reference: [Postgres Docs](https://www.postgresql.org/docs/current/)