SKILL

postgres-patterns

쿼리 최적화, 스키마 설계, 인덱싱, 보안을 위한 PostgreSQL 데이터베이스 패턴. Supabase 모범 사례 기반.

Original · translation did not pass checks

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Korean text

Topics in the source

  • PostgreSQL 패턴
  • 활성화 시점
  • 빠른 참조
  • 인덱스 치트 시트
  • 데이터 타입 빠른 참조
  • 일반 패턴
  • 안티패턴 감지
  • 구성 템플릿

PostgreSQL 모범 사례 빠른 참조. 자세한 가이드는 database-reviewer 에이전트를 사용하세요. SQL 쿼리 또는 마이그레이션을 작성할 때 데이터베이스 스키마를 설계할 때 느린 쿼리를 문제 해결할 때 Row Level Security를 구현할 때 커넥션 풀링을 설정할 때 | 쿼리 패턴 | 인덱스 유형 | 예시 | |--------------|------------|---------| | WHERE col = value | B-tree (기본값) | CREATE INDEX idx ON t (col) | | WHERE col > value | B-tree | CREATE INDEX idx ON t (col) | | WHERE a = x AND b > y | Composite | CREATE INDEX idx ON t (a, b) | | WHERE jsonb @> '{}' | GIN | CREATE INDEX idx ON t USING gin (col) | | WHERE tsv @@ query | GIN | CREATE INDEX idx ON t USING gin (col) | | 시계열 범위 | BRIN | CREATE INDEX idx ON t USING brin (col) | | 사용 사례 | 올바른 타입 | 지양 | |----------|-------------|-------| | ID | bigint | int, random UUID | | 문자열 | text | varchar(255) | | 타임스탬프 | timestamptz | timestamp | | 금액 | numeric(10,2) | float | | 플래그 | boolean | varchar, int | 복합 인덱스 순서: 커버링 인덱스: 부분 인덱스: RLS 정책 (최적화): UPSERT: 커서 페이지네이션: 큐 처리: 에이전트: database-reviewer - 전체 데이터베이스 리뷰 워크플로우 스킬: clickhouse-io - ClickHouse 분석 패턴 스킬: backend-patterns - API 및 백엔드 패턴 -- Supabase Agent Skills 기반 (크레딧: Supabase 팀) (MIT License)

Source repository
affaan-m/ECC
Source file
docs/ko-KR/skills/postgres-patterns/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.859Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.