SQLSTATE in PHP? - Mailing list pgsql-php

From Michael Glaesemann
Subject SQLSTATE in PHP?
Date
Msg-id 45EF7AF0-6B63-11D8-89E9-000A95C88220@myrealbox.com
Whole thread Raw
Responses Re: SQLSTATE in PHP?
Re: SQLSTATE in PHP?
List pgsql-php
Hey all,

I've been looking for a way to get the SQLSTATE PostgreSQL error code
from within PHP to build better error-handling within my web
front-ends. However, I've been unable to find anything. There is
similar functionality for MySQL in the PHP mysqli_sqlstate() function.

Anyone know of a way to get these error codes from within PHP? Or is
this a missing feature in PHP's PostgreSQL support?

Thanks for any feedback.

Michael Glaesemann
grzm myrealbox com


pgsql-php by date:

Previous
From: twohandsfree@hotmail.com (John)
Date:
Subject: not seeing postgres function in php/apache (newbie)
Next
From: Wim Paulussen
Date:
Subject: get list of databases and tables in Postgres