Upgrade formrdesc() so that it can correctly initialize the tupledesc
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Dec 2004 05:07:50 +0000 (05:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Dec 2004 05:07:50 +0000 (05:07 +0000)
commit984791e0e1a52d0929b402885b250361a1ad9758
treee9a6bbf83eed083b92f03297202d9e74c815c5de
parent12b1b5d837b5ce1c07ee3535e74e4cc3039063d6
Upgrade formrdesc() so that it can correctly initialize the tupledesc
(rd_att) field of a nailed-in-cache relcache entry.  This fixes the bug
reported by Alvaro 8-Dec-2004; I believe it probably also explains
Grant Finnemore's report of 10-Sep-2004.

In an unrelated change in the same file, put back 7.4's response to
failure to rename() the relcache init file, ie, unlink the useless
temp file.  I did not put back the warning message, since there might
actually be some reason not to have that.
src/backend/utils/cache/relcache.c
src/include/catalog/pg_type.h