aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-09-03 11:24:31 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-09-03 11:24:31 -0400
commitc1f3c045cdc97fc74e571d4e8705f7dbe7e1ec8b (patch)
tree6be731a97b01a30fbf2af1ba305a628e4a724008 /src/tutorial/syscat.source
parent7682c5947dff4368753890935522dedfb93e1c78 (diff)
downloadpostgresql-c1f3c045cdc97fc74e571d4e8705f7dbe7e1ec8b.tar.gz
postgresql-c1f3c045cdc97fc74e571d4e8705f7dbe7e1ec8b.zip
Make psql's \d+ show reloptions for all relkinds.
Formerly it would only show them for relkinds 'r' and 'f' (plain tables and foreign tables). However, as of 9.2, views can also have reloptions, namely security_barrier. The relkind restriction seems pointless and not at all future-proof, so just print reloptions whenever there are any. In passing, make some cosmetic improvements to the code that pulls the "tableinfo" fields out of the PGresult. Noted and patched by Dean Rasheed, with adjustment for all relkinds by me.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions