postgresql/src/backend
Tom Lane b82a7be603 Change pg_seclabel.provider and pg_shseclabel.provider to type "name".
These were "text", but that's a bad idea because it has collation-dependent
ordering.  No index in template0 should have collation-dependent ordering,
especially not indexes on shared catalogs.  There was general agreement
that provider names don't need to be longer than other identifiers, so we
can fix this at a small waste of table space by changing from text to name.

There's no way to fix the problem in the back branches, but we can hope
that security labels don't yet have widespread-enough usage to make it
urgent to fix.

There needs to be a regression sanity test to prevent us from making this
same mistake again; but before putting that in, we'll need to get rid of
similar brain fade in the recently-added pg_replication_origin catalog.

Note: for lack of a suitable testing environment, I've not really exercised
this change.  I trust the buildfarm will show up any mistakes.
2015-05-18 20:07:53 -04:00
..
access Fix typos in comments 2015-05-17 14:58:04 +02:00
bootstrap Move strategy numbers to include/access/stratnum.h 2015-05-15 17:03:16 -03:00
catalog Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
commands Change pg_seclabel.provider and pg_shseclabel.provider to type "name". 2015-05-18 20:07:53 -04:00
executor Attach ON CONFLICT SET ... WHERE to the correct planstate. 2015-05-19 01:55:10 +02:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib More portability fixing for bipartite_match.c. 2015-05-16 11:35:42 -04:00
libpq Check return values of sensitive system library calls. 2015-05-18 10:02:31 -04:00
main Don't require users of src/port/gettimeofday.c to initialize it. 2015-02-21 12:17:04 -05:00
nodes Fix failure to copy IndexScan.indexorderbyops in copyfuncs.c. 2015-05-17 21:22:12 -04:00
optimizer Fix failure to copy IndexScan.indexorderbyops in copyfuncs.c. 2015-05-17 21:22:12 -04:00
parser Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
po Translation updates 2015-02-01 23:23:40 -05:00
port Remove the option to service interrupts during PGSemaphoreLock(). 2015-02-03 23:25:00 +01:00
postmaster Prevent a double free by not reentering be_tls_close(). 2015-05-18 10:02:31 -04:00
regex Replace a bunch more uses of strncpy() with safer coding. 2015-01-24 13:05:42 -05:00
replication Fix typos in comments 2015-05-17 14:58:04 +02:00
rewrite Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
snowball Update copyright for 2015 2015-01-06 11:43:47 -05:00
storage Fix error message in pre_sync_fname. 2015-05-18 12:53:54 -04:00
tcop Support VERBOSE option in REINDEX command. 2015-05-15 20:09:57 +09:00
tsearch Fix typos in comments 2015-05-17 14:58:04 +02:00
utils Put back a backwards-compatible version of sampling support functions. 2015-05-18 18:34:37 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Update copyright for 2015 2015-01-06 11:43:47 -05:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00