Bugs item #1065618, was opened at 2004-11-13 15:39
Message generated for change (Comment added) made by mr-russ
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1065618&group_id=37132
Category: Dumps
Group: CVS
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Russell Smith (mr-russ)
Assigned to: Russell Smith (mr-russ)
Summary: db_export.php postgres version handling
Initial Comment:
db_export.php:74 has the following regex
preg_match("/(\d+(?:\.\d+)?)(?:\.\d+)?$/", exec($exe .
" --version"), $version);
It however cannot parse
pg_dump (PostgreSQL) 8.0.0beta4
which is the beta version of postgres. hence you
cannot get an output from a non release version.
$version[1] = 4, from beta 4.
It does not expect to have any text after the last
version number, and the betas do not follow this ideal.
So you cannot dump a table from pg 7.4 betas, or pg 8.0
betas.
The regex needs to be adjusted to be able to return the
correct value, ever for beta and release candidate
versions of pg.
----------------------------------------------------------------------
Comment By: Russell Smith (mr-russ)
Date: 2005-02-02 09:03
Message:
Logged In: YES
user_id=361841
This issue has been resolved and is currently fixed in CVS. If
you wish to acquire the fix, please download a nightly snapshot:
http://phppgadmin.sourceforge.net/
Note that you may have to wait up to 24 hours for the latest CVS
changes to appear in the snapshot.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1065618&group_id=37132
|