Review uses of IsUnderPostmaster, change some tests to look at
Tom Lane <tgl@sss.pgh.pa.us>
Review uses of IsUnderPostmaster, change some tests to look at whereToSendOutput instead because they are really inquiring about the correct client communication protocol. Update some comments. This is pointing towards supporting regular FE/BE client protocol in a standalone backend, per discussion a month or so back.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/slru.c | modified | +2 −7 |
| src/backend/catalog/index.c | modified | +4 −3 |
| src/backend/commands/copy.c | modified | +4 −4 |
| src/backend/commands/tablecmds.c | modified | +4 −3 |
| src/backend/postmaster/pgstat.c | modified | +7 −1 |
| src/backend/postmaster/postmaster.c | modified | +13 −1 |
| src/backend/tcop/postgres.c | modified | +4 −4 |
| src/backend/utils/init/globals.c | modified | +13 −3 |