Re: PgSQL error codes in PHP - Mailing list pgsql-php

From Thom Dyson
Subject Re: PgSQL error codes in PHP
Date
Msg-id OF4F845831.43EE4CB6-ON88256F4A.0057A54B-88256F4A.0057E796@sybex.com
Whole thread Raw
In response to PgSQL error codes in PHP  (Dawid Ferenczy <ferenczy@volny.cz>)
List pgsql-php
Dawid,

I think you will have to build something.  If I understand the problem
correctly, PHP's error routine needs the connection handle to get the
error, but there is no connection handle if there is an error (!), so PHP
can't read an error number.

I have seen other people looking for answers to this, but I have never
seen any answers.

Thom Dyson
Director of Information Services
Sybex, Inc.



pgsql-php-owner@postgresql.org wrote on 11/12/2004 05:01:11 AM:

> Hi,

> I need help, please - I tried Google, some specialized mailinglist
> and I got no result for a week. I would like to determine PgSQL error
> codes in PHP after executing a query, but I found functions for getting
> error messages only which I found not usable (messages are often
> localised and so on).

pgsql-php by date:

Previous
From: Dawid Ferenczy
Date:
Subject: PgSQL error codes in PHP
Next
From: Markus Bertheau
Date:
Subject: Re: PgSQL error codes in PHP