snapshot - src: FIX: [#1000716] database name is hardcoded This is a

From: cunha17(at)pgfoundry(dot)org (User Cunha17)
To: pgsql-committers(at)postgresql(dot)org
Subject: snapshot - src: FIX: [#1000716] database name is hardcoded This is a
Date: 2006-09-02 18:45:33
Message-ID: 20060902184533.456FE86C6E4@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
FIX: [#1000716] database name is hardcoded
This is a real fix and not a workaround like before. Now, as suggested by Floris Sluiter, we use SPI to run the current_database() Postgresql function and retrieve the local database name and then connect to it using DBI.

Modified Files:
--------------
root:
Makefile.sh (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/root/Makefile.sh.diff?r1=1.5&r2=1.6)
USAGE.html (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/root/USAGE.html.diff?r1=1.3&r2=1.4)
USAGE.txt (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/root/USAGE.txt.diff?r1=1.6&r2=1.7)
USO.html (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/root/USO.html.diff?r1=1.3&r2=1.4)
USO.txt (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/root/USO.txt.diff?r1=1.6&r2=1.7)
src/sql:
pgsnapshots_create_snapshot.sql (r1.7 -> r1.8)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_create_snapshot.sql.diff?r1=1.7&r2=1.8)
pgsnapshots_dblink.sql (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_dblink.sql.diff?r1=1.3&r2=1.4)
pgsnapshots_drop_snapshot.sql (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_drop_snapshot.sql.diff?r1=1.6&r2=1.7)
pgsnapshots_refresh_snapshot.sql (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_refresh_snapshot.sql.diff?r1=1.5&r2=1.6)
pgsnapshots_snapshotlog.sql (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/sql/pgsnapshots_snapshotlog.sql.diff?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message User Cunha17 2006-09-02 18:47:15 snapshot - src: Missing adds for the previous commit.
Previous Message User Cunha17 2006-09-02 18:42:33 snapshot - root: typo