Opened 13 years ago

Closed 12 years ago

#382 closed defect (fixed)

postgresql detection

Reported by: dmorton Owned by: dmorton
Priority: high Milestone: 1.0.2
Component: PHP scripts Version: 1.0.1 Devel
Severity: critical Keywords:
Cc:

Description (last modified by dmorton)

Brian McCullough? wrote:

Incidentally, David, I am also getting the "Database Verson = array"
error that someone else reported.

Changing that to:

$pg_version_result = pg_version($test_dbh->connection);
$db_version = $pg_version_result['server'] ;


produces the result that I think you were looking for.  It isn't the
greatest solution, just _a_ solution.

Change History (3)

comment:1 Changed 13 years ago by dmorton

from Brian:

David,

File maia_db.php, line 1873.

Your quotes are backwards.  PostgreSQL, like certain other RDBMS engines
that I know ( Oracle ), treats a word in double quotes as a column name.
Strings have single quotes.

B-)

comment:2 Changed 13 years ago by dmorton

  • Description modified (diff)

comment:3 Changed 12 years ago by dmorton

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [1119] a year ago, ticket was closed but lost in server crash.

Note: See TracTickets for help on using tickets.