aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-03 01:18:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-03 01:18:33 +0000
commita4df52f95ff315dd10beca27cf93ff652be62153 (patch)
treed53044600aa8cb5a73382e67d9f76849280307b9 /src/backend/commands/functioncmds.c
parent2abae34a2e8fde42be731b4e18d44cd08901464d (diff)
downloadpostgresql-a4df52f95ff315dd10beca27cf93ff652be62153.tar.gz
postgresql-a4df52f95ff315dd10beca27cf93ff652be62153.zip
Fix breakage of GIN support for varchar[] and cidr[] that I introduced in the
operator-family rewrite. I had mistakenly supposed that these could use the pg_amproc entries for text[] and inet[] respectively. However, binary compatibility of the underlying types does not make two array types binary compatible (since they must differ in the header field that gives the element type OID), and so the index support code doesn't consider those entries applicable. Add back the missing pg_amproc entries, and add an opr_sanity query to try to catch such mistakes in future. Per report from Gregory Maxwell.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions