Is it possible to ignore specific columns when dumping a PostgreSQL database using pg_dump
? I have a table with columns X and Y. Is it possible to dump only column X with pg_dump
?
Not directly; however, you could
CREATE TABLE b AS SELECT x FROM A;
and then pg_dump that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With