Обсуждение: pgsql: psql: conditionally display oids and replication identity
psql: conditionally display oids and replication identity In psql \d+, display oids only when they exist, and display replication identity only when it is non-default. Also document the defaults for replication identity for system and non-system tables. Update regression output. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4168c00a5d9c0c0c17cdfc902587b6d22ea1720f Modified Files -------------- doc/src/sgml/ref/alter_table.sgml | 4 +++- doc/src/sgml/ref/psql-ref.sgml | 4 +++- src/bin/psql/describe.c | 17 ++++++----------- src/test/regress/expected/create_table_like.out | 6 ------ src/test/regress/expected/foreign_data.out | 2 -- src/test/regress/expected/inherit.out | 13 ------------- src/test/regress/expected/replica_identity.out | 16 ++++++++-------- src/test/regress/expected/rules.out | 1 - src/test/regress/sql/replica_identity.sql | 2 +- 9 files changed, 21 insertions(+), 44 deletions(-)
Bruce Momjian <bruce@momjian.us> writes: > psql: conditionally display oids and replication identity Buildfarm isn't terribly pleased with this --- looks like you missed contrib/test_decoding/ regards, tom lane
On Tue, Apr 15, 2014 at 02:32:53PM -0400, Tom Lane wrote: > Bruce Momjian <bruce@momjian.us> writes: > > psql: conditionally display oids and replication identity > > Buildfarm isn't terribly pleased with this --- looks like you missed > contrib/test_decoding/ Fixed. I added a personal script option that allows me to test contrib, but forgot to run it. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +