diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-10 13:15:47 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-03-10 13:15:47 -0500 |
| commit | 8b358b42f8eb6156a82ac9a41fc4e8335c8dc37a (patch) | |
| tree | 8e411be8e421d41fc00467a8c4b8c3cd89e0c7b2 /doc/src | |
| parent | a83e4b4f31c7afa5f7360086ebb1916cc99a4dbe (diff) | |
Change the relkind for partitioned tables from 'P' to 'p'.
Seven of the eight other relkind codes are lower-case, so it wasn't
consistent for this one to be upper-case. Fix it while we still can.
Historical notes: the reason for the lone exception, i.e. sequences being
'S', is that 's' was once used for "special" relations. Also, at one time
the partitioned-tables patch used both 'P' and 'p', but that got changed,
leaving only a surprising choice behind.
This also fixes a couple little bits of technical debt, such as
type_sanity.sql not knowing that 'm' is a legal value for relkind.
Discussion: https://postgr.es/m/27899.1488909319@sss.pgh.pa.us
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/catalogs.sgml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 28cdabe6fe3..2c2da2ad8a8 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1758,12 +1758,15 @@ <entry><type>char</type></entry> <entry></entry> <entry> - <literal>r</> = ordinary table, <literal>P</> = partitioned table, - <literal>i</> = index - <literal>S</> = sequence, <literal>v</> = view, + <literal>r</> = ordinary table, + <literal>i</> = index, + <literal>S</> = sequence, + <literal>t</> = TOAST table, + <literal>v</> = view, <literal>m</> = materialized view, - <literal>c</> = composite type, <literal>t</> = TOAST table, - <literal>f</> = foreign table + <literal>c</> = composite type, + <literal>f</> = foreign table, + <literal>p</> = partitioned table </entry> </row> |
