Use a 'datallowconn' check for avoiding 'template0', rather than
Bruce Momjian <bruce@momjian.us>
Use a 'datallowconn' check for avoiding 'template0', rather than hardcoding a 'template0' check, per suggestion from Alvaro. This might fix a problem where someone has allowed 'template0' connections, but it is a cleaner approach even if doesn't fix the bug.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/pg_upgrade.c | modified | +2 −3 |