Thursday 1 July 2021

In Postgres generate SQL script of table schema

 pg_dump -h <ip>-U <user> --table <table> <database name>  >  <file name>.sql

No comments:

Post a Comment