postgresql/src/bin
Peter Eisentraut 1dd6baf788 pg_dump: Fix dumping of inherited generated columns
Generation expressions of generated columns are always inherited, so
there is no need to set them separately in child tables, and there is
no syntax to do so either.  The code previously used the code paths
for the handling of default values, for which different rules apply;
in particular it might want to set a default value explicitly for an
inherited column.  This resulted in unrestorable dumps.  For generated
columns, just skip them in inherited tables.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/15830.1575468847%40sss.pgh.pa.us
2021-02-03 11:58:15 +01:00
..
initdb initdb: complete getopt_long alphabetization 2020-12-12 12:59:09 -05:00
pg_archivecleanup Translation updates 2020-11-09 12:36:44 +01:00
pg_basebackup Translation updates 2020-11-09 12:36:44 +01:00
pg_checksums pg_checksums: data_checksum_version is unsigned so use %u not %d 2020-12-01 20:27:05 -05:00
pg_config Translation updates 2020-11-09 12:36:44 +01:00
pg_controldata Translation updates 2020-11-09 12:36:44 +01:00
pg_ctl Avoid time-of-day-dependent failure in log rotation test. 2020-12-24 21:37:46 -05:00
pg_dump pg_dump: Fix dumping of inherited generated columns 2021-02-03 11:58:15 +01:00
pg_resetwal Translation updates 2020-11-09 12:36:44 +01:00
pg_rewind Fix more race conditions in the newly-added pg_rewind test. 2020-12-07 14:55:22 +02:00
pg_test_fsync Translation updates 2020-08-10 15:21:18 +02:00
pg_test_timing Translation updates 2020-08-10 15:21:18 +02:00
pg_upgrade In pg_upgrade cross-version test, handle lack of oldstyle_length(). 2020-12-30 01:43:46 -08:00
pg_waldump Translation updates 2020-11-09 12:36:44 +01:00
pgbench pgbench: Remove dead code 2021-01-28 12:50:40 -03:00
pgevent Update copyright for 2019 2019-01-02 12:44:25 -05:00
psql Code review for psql's helpSQL() function. 2021-01-26 13:04:52 -05:00
scripts Adjust createdb TAP tests to work on recent OpenBSD. 2021-01-07 20:36:09 -05:00
Makefile Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00