diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-14 22:34:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-14 22:34:48 +0000 |
commit | 8e14408028e31a3dad872a0735a435ba10017ae6 (patch) | |
tree | 99fbb5bd8b2d8487ae0e1b0a5deb6777cd4d3f60 /src/backend/executor/nodeHashjoin.c | |
parent | 0453a997af76a36530200dbf8403e70849ff4c0b (diff) | |
download | postgresql-8e14408028e31a3dad872a0735a435ba10017ae6.tar.gz postgresql-8e14408028e31a3dad872a0735a435ba10017ae6.zip |
Make equalTupleDescs() compare attlen/attbyval/attalign rather than
assuming comparison of atttypid is sufficient. In a dropped column
atttypid will be 0, and we'd better check the physical-storage data
to make sure the tupdescs are physically compatible.
I do not believe there is a real risk before 8.0, since before that
we only used this routine to compare successive states of the tupdesc
for a particular relation. But 8.0's typcache.c might be comparing
arbitrary tupdescs so we'd better play it safer.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions