Skip to content

Instantly share code, notes, and snippets.

@aretche
Created April 15, 2014 18:47
Show Gist options
  • Save aretche/10758324 to your computer and use it in GitHub Desktop.
Save aretche/10758324 to your computer and use it in GitHub Desktop.
Convertir los registros de una tabla PostgreSQL a CSV (incluyendo campos en el encabezado)
COPY your_table_name to '/tmp/your_table_name.csv' delimiters',' CSV HEADER;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment