Skip site navigation (1) Skip section navigation (2)


From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: SQLSTATE in PHP?
Date: 2004-03-01 09:31:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

Next:From: Wim PaulussenDate: 2004-03-01 11:00:57
Subject: get list of databases and tables in Postgres
Previous:From: scott.marloweDate: 2004-02-27 21:46:57
Subject: Re: Too many clients

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group