]> granicus.if.org Git - postgresql/commit
Fix new RI operator selection code to do the right thing when working with
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Feb 2007 22:04:02 +0000 (22:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Feb 2007 22:04:02 +0000 (22:04 +0000)
commit9f28ac0dd3f9b4ed4bb35328a66ad09a7f7df05a
tree902a682890c4b1e1ce80c303fda2221feb491536
parent1d722cf18c2dd49bcf01698dc1e3bdba44d72afd
Fix new RI operator selection code to do the right thing when working with
an opclass for a generic type such as ANYARRAY.  The original coding failed
to check that PK and FK columns were of the same array type.  Per discussion
with Tom Dunstan.  Also, make the code a shade more readable by not trying
to economize on variables.
src/backend/commands/tablecmds.c