PostgreSQL

From Sasara
Revision as of 23:29, 17 January 2026 by Rubenerd (talk | contribs) (Created page with "'''Postgres''' is a database. This is a bit of a cheat sheet. ==Export SQL for later insertion== pg_dump -h $HOST -U $USER --dbname $DATABASE -t $TABLE \ --data-only --column-inserts > $TABLE.sql Category:Tech")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Postgres is a database. This is a bit of a cheat sheet.

Export SQL for later insertion

pg_dump -h $HOST -U $USER --dbname $DATABASE -t $TABLE \
  --data-only --column-inserts > $TABLE.sql