PostgreSQL Database

Community

Master PostgreSQL integration in FreePascal Lazarus.

Authordelphicleancode
Version1.0.0
Installs0

System Documentation

## What problem does it solve? PostgreSQL is a powerful database, but integrating it with FreePascal Lazarus requires repetitive boilerplate code, error handling, and SQL mapping. This Skill provides structured guidance and reusable patterns to simplify connection setup, data mapping, common PostgreSQL features (JSONB, UPSERT, FTS), and migrations.

## Core Features & Use Cases

  • PostgreSQL connection setup with SQLdb/Zeos
  • Mapping PostgreSQL data types to FreePascal Lazarus types
  • Implementing UPSERT, JSONB, FTS, CTEs, and partitioning
  • Migration scripts and best practices for schema versioning
  • Use Case: configure a repository layer for a Lazarus app interfacing with PostgreSQL

Quick Start

Start with configuring your connection factory in your Lazarus project, initialize a TSQLConnection, and execute a parameterized query to fetch data.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: PostgreSQL Database
Download link: https://github.com/delphicleancode/lazarus-spec-kit/archive/main.zip#postgresql-database

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.