postgresql/src/backend/commands
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
..
Makefile Row-Level Security Policies (RLS) 2014-09-19 11:18:35 -04:00
aggregatecmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
alter.c Remove variable shadowing 2015-04-07 17:14:00 -03:00
analyze.c TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00
async.c Use FLEXIBLE_ARRAY_MEMBER in a number of other places. 2015-02-21 16:12:14 -05:00
cluster.c Support VERBOSE option in REINDEX command. 2015-05-15 20:09:57 +09:00
collationcmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
comment.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
constraint.c Fix incorrect checking of deferred exclusion constraint after a HOT update. 2015-05-11 12:25:43 -04:00
conversioncmds.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
copy.c Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 2015-05-08 05:43:10 +02:00
createas.c Represent columns requiring insert and update privileges indentently. 2015-05-08 00:20:46 +02:00
dbcommands.c Move WAL-related definitions from dbcommands.h to separate header file. 2015-03-09 15:50:49 +02:00
define.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
discard.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
dropcmds.c Add transforms feature 2015-04-26 10:33:14 -04:00
event_trigger.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
explain.c Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
extension.c Allow CURRENT/SESSION_USER to be used in certain commands 2015-03-09 15:41:54 -03:00
foreigncmds.c Allow CURRENT/SESSION_USER to be used in certain commands 2015-03-09 15:41:54 -03:00
functioncmds.c Add transforms feature 2015-04-26 10:33:14 -04:00
indexcmds.c Support VERBOSE option in REINDEX command. 2015-05-15 20:09:57 +09:00
lockcmds.c Allow LOCK TABLE .. ROW EXCLUSIVE MODE with INSERT 2015-05-11 15:44:12 -04:00
matview.c Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
opclasscmds.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
operatorcmds.c Allow named parameters to be specified using => in addition to := 2015-03-10 11:09:41 -04:00
policy.c Allow CURRENT/SESSION_USER to be used in certain commands 2015-03-09 15:41:54 -03:00
portalcmds.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
prepare.c Use FLEXIBLE_ARRAY_MEMBER in a bunch more places. 2015-02-20 00:11:42 -05:00
proclang.c Add transforms feature 2015-04-26 10:33:14 -04:00
schemacmds.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
seclabel.c Change pg_seclabel.provider and pg_shseclabel.provider to type "name". 2015-05-18 20:07:53 -04:00
sequence.c Create an infrastructure for parallel computation in PostgreSQL. 2015-04-30 15:02:14 -04:00
tablecmds.c Support VERBOSE option in REINDEX command. 2015-05-15 20:09:57 +09:00
tablespace.c Warn about tablespace creation in PGDATA 2015-04-28 17:35:12 -04:00
trigger.c Minor ON CONFLICT related comments and doc fixes. 2015-05-08 19:24:14 +02:00
tsearchcmds.c Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
typecmds.c Add transforms feature 2015-04-26 10:33:14 -04:00
user.c Integrate pg_upgrade_support module into backend 2015-04-14 19:26:37 -04:00
vacuum.c Teach autovacuum about multixact member wraparound. 2015-05-08 12:53:00 -04:00
vacuumlazy.c Add log_min_autovacuum_duration per-table option 2015-04-03 11:55:50 -03:00
variable.c Update copyright for 2015 2015-01-06 11:43:47 -05:00
view.c Require non-NULL pstate for all addRangeTableEntryFor* functions. 2015-03-11 15:26:43 -04:00