pgsql: Use a 'datallowconn' check for avoiding 'template0', rather than - Mailing list pgsql-committers

From momjian@postgresql.org (Bruce Momjian)
Subject pgsql: Use a 'datallowconn' check for avoiding 'template0', rather than
Date
Msg-id 20100518184052.19D027541D2@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/contrib/pg_upgrade:
        pg_upgrade.c (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_upgrade/pg_upgrade.c?r1=1.2&r2=1.3)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make pg_upgrade documentation refer to 9.0 instead of 8.4.
Next
From: bmomjian@pgfoundry.org (User Bmomjian)
Date:
Subject: pg-migrator - pg_migrator: Adjust test for non-connectable databases,