aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-07 02:44:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-07 02:44:09 +0000
commite49ae8d3bc588294d07ce1a1272b31718cfca5ef (patch)
treee423c1f46141fc3ca5fd5746bce39cf74faf56b4 /src/backend/utils/adt/xml.c
parentce6ce1a09dada095c07334d11eb56c5168ed801a (diff)
downloadpostgresql-e49ae8d3bc588294d07ce1a1272b31718cfca5ef.tar.gz
postgresql-e49ae8d3bc588294d07ce1a1272b31718cfca5ef.zip
Recognize functional dependency on primary keys. This allows a table's
other columns to be referenced without listing them in GROUP BY, so long as the primary key column(s) are listed in GROUP BY. Eventually we should also allow functional dependency on a UNIQUE constraint when the columns are marked NOT NULL, but that has to wait until NOT NULL constraints are represented in pg_constraint, because we need to have pg_constraint OIDs for all the conditions needed to ensure functional dependency. Peter Eisentraut, reviewed by Alex Hunsaker and Tom Lane
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions