postgresql/src
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
..
backend Change pg_seclabel.provider and pg_shseclabel.provider to type "name". 2015-05-18 20:07:53 -04:00
bin Add new files to nls.mk 2015-05-17 22:55:17 -04:00
common Reorganize our CRC source files again. 2015-04-14 17:03:42 +03:00
include Change pg_seclabel.provider and pg_shseclabel.provider to type "name". 2015-05-18 20:07:53 -04:00
interfaces Add error-throwing wrappers for the printf family of functions. 2015-05-18 10:02:31 -04:00
makefiles Fix parallel make risk with new check temp-install setup 2015-04-29 20:34:22 -04:00
pl Add error-throwing wrappers for the printf family of functions. 2015-05-18 10:02:31 -04:00
port Add error-throwing wrappers for the printf family of functions. 2015-05-18 10:02:31 -04:00
template Remove duplicate specification of -Ae for HP-UX C compiler. 2015-01-13 22:52:11 -05:00
test Attach ON CONFLICT SET ... WHERE to the correct planstate. 2015-05-19 01:55:10 +02:00
timezone Update time zone data files to tzdata release 2015d. 2015-05-15 19:35:29 -04:00
tools Recognize "REGRESS_OPTS += ..." syntax in MSVC build scripts. 2015-05-18 13:40:06 -04:00
tutorial Update copyright for 2015 2015-01-06 11:43:47 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in doc build: use unique Makefile variable to control temp install 2015-05-12 12:30:50 -04:00
Makefile.shlib Add transforms feature 2015-04-26 10:33:14 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00