0 comment

PostgreSQL: Copy a table structure and data

Once again a short notice about some nifty PostgreSQL feature you might not be aware of. It’s quire simple to copy the structure of a table with:

Now you can copy data with or without some sort of filter:

Hope that helps.

Leave a Reply

Required fields are marked *.