You are here

function DB_pgsql::errorNative in Flickr API 5

Gets the DBMS' native error message produced by the last query

{@internal Error messages are used instead of error codes in order to support older versions of PostgreSQL.}}

Return value

string the DBMS' error message

Overrides DB_common::errorNative

1 call to DB_pgsql::errorNative()
DB_pgsql::pgsqlRaiseError in phpFlickr/PEAR/DB/pgsql.php
Produces a DB_Error object regarding the current problem

File

phpFlickr/PEAR/DB/pgsql.php, line 798

Class

DB_pgsql
The methods PEAR DB uses to interact with PHP's pgsql extension for interacting with PostgreSQL databases

Code

function errorNative() {
  return @pg_errormessage($this->connection);
}