AGENT SKILL
pgloader
Use this skill when the user wants to migrate data from MySQL, SQLite, MS SQL, CSV, or dBase files into PostgreSQL with pgloader.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- pgloader
- description
- Use this skill when the user wants to migrate data from MySQL, SQLite, MS SQL, CSV, or dBase files into PostgreSQL with pgloader.
03 SKILL.md 正文
pgloader Plugin
pgloader is a mature ETL tool focused on loading data into PostgreSQL. Given a source (database URL or file) and a Postgres target URL, it auto-discovers the source schema, converts types, creates tables/indexes, and loads rows with parallel COPY.
Commands
pgloader migrate run <source> <target>— Full migration into Postgrespgloader migrate dryrun <source> <target>— Process without writing (--dry-run)pgloader load command <file.load>— Run a .load command file (casting rules, filters)pgloader encodings list— Show supported source encodingspgloader _ _— Passthrough
Usage Examples
- "Migrate this MySQL database to Postgres"
- "Load this CSV into a Postgres table"
- "Convert this SQLite file into Postgres"
- "Do a dry run of the migration first"
Installation
sudo apt-get install -y pgloader
# or: brew install pgloader
Examples
# Full MySQL -> Postgres migration
pgloader mysql://root:pass@localhost/sourcedb postgresql://postgres@localhost/destdb
# CSV file into Postgres
pgloader ./people.csv postgresql://localhost/analytics
# Dry run first
pgloader --dry-run sqlite:///app.db postgresql://localhost/appdb
# Advanced: .load file with casting rules
pgloader complex.load
Key Features
- Sources: MySQL, SQLite, MS SQL Server, CSV, fixed-width, dBase (.dbf), IXF, archives
- Automatic schema discovery + Postgres type conversion
.loadcommand files for fine control: CAST rules, INCLUDING/EXCLUDING table filters, BEFORE/AFTER LOAD hooks--dry-runto validate without writing;--verbose/--debugfor diagnostics
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57