aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-11-11 13:39:21 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-11-11 13:39:21 -0500
commitda3751c8ea6f833d8e69fbdd168d29d328674398 (patch)
tree01e3bea61c4b2445452fddc053afce3541e6bae0 /src/backend/access/transam/commit_ts.c
parent80558c1f5aa109d08db0fbd76a6d370f900628a8 (diff)
downloadpostgresql-da3751c8ea6f833d8e69fbdd168d29d328674398.tar.gz
postgresql-da3751c8ea6f833d8e69fbdd168d29d328674398.zip
Be more noisy about "wrong number of nailed relations" initfile problems.
In commit 5d1ff6bd559ea8df1b7302e245e690b01b9a4fa4 I added some logic to relcache.c to try to ensure that the regression tests would fail if we made a mistake about which relations belong in the relcache init files. I'm quite sure I tested that, but I must have done so only for the non-shared-catalog case, because a report from Adam Brightwell showed that the regression tests still pass just fine if we bollix the shared-catalog init file in the way this code was supposed to catch. The reason is that that file gets loaded before we do client authentication, so the WARNING is not sent to the client, only to the postmaster log, where it's far too easily missed. The least Rube Goldbergian answer to this is to put an Assert(false) after the elog(WARNING). That will certainly get developers' attention, while not breaking production builds' ability to recover from corner cases with similar symptoms. Since this is only of interest to developers, there seems no need for a back-patch, even though the previous commit went into all branches.
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions