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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.