Re: Bizarre choice of case for RELKIND_PARTITIONED_TABLE
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@postgreSQL.org
Date: 2017-03-10T02:10:58Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > Tom Lane wrote: >> (And no, I don't especially >> approve of RELKIND_SEQUENCE being 'S' either, but it's far too late to >> change that.) > FWIW the reason SEQUENCE uses S instead of 's' is that the latter was > taken for "special" relations, which we removed a few releases ago > (commit 3a694bb0a1). Yeah, I'd just been reminded of that by some code in describe.c. So there actually is a reason for sequences to be 'S', or once was. regards, tom lane
Commits
-
Change the relkind for partitioned tables from 'P' to 'p'.
- 8b358b42f8eb 10.0 landed
-
Fix hard-coded relkind constants in assorted other files.
- 9c2635e26f6f 10.0 landed
-
Fix hard-coded relkind constants in assorted src/bin files.
- fcd778eb703c 10.0 landed
-
Fix hard-coded relkind constants in psql/describe.c.
- 395bfaae8e78 10.0 landed
-
Fix hard-coded relkind constants in pg_dump.c.
- fe797b4a6a69 10.0 landed
-
Restructure LOCKTAG as per discussions of a couple months ago.
- 3a694bb0a16f 8.1.0 cited