Publisher review:Postgres Module is a Perl interface to the Postgres95 SQL database engine. The following functions are currently not implemented: PQtrace(), PQendtrace(), and the asynchronous notification.
Once you db_connect() to a database, you can then issue commands to the execute() method. If either of them returns an error from the underlying API, the value returned will be undef and the variable $Postgres::error will contain the error message from the database. The $port parameter to db_connect() is optional and will use the default port if not specified. All environment variables used by the PQsetdb() function are honored.
The method fetchrow() returns an array of the values from the next row fetched from the server. It returns an empty list when there is no more data available. Fields which have a NULL value return undef as their value in the array. Calling fetchrow() or the other tuple-related functions on a statement handle which is not from a SELECT statement has undefined behavior, and may well crash your program. Other functions work identically to their similarly-named C API functions.
Postgres Module 1.4 is a Perl script for Perl Modules scripts design by Vivek Khera.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Postgres Module is a Perl interface to the Postgres95 SQL database engine.
Operating system:Windows / Linux / Mac OS / BSD / Solaris