Re: [PHP] PostgreSQL + PHP + SQL warning messages

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Evelio Martinez <evelio(dot)martinez(at)testanet(dot)com>, pgsql-general(at)postgresql(dot)org, php-general(at)lists(dot)php(dot)net
Subject: Re: [PHP] PostgreSQL + PHP + SQL warning messages
Date: 2001-01-25 20:29:27
Message-ID: 01012517292709.21569@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El Jue 25 Ene 2001 16:36, Evelio Martinez escribió:
> Hi!
>
> Is there any way to get the equivalent sqlca.sqlcode value of informix
> in PostgreSQL from php ?
>
> I would like to use the sqlcode to print the messages in Spanish.

The problem is that informix puts in an array (sort of) all the info about
the last query. What sort of information would you like? Last insert? You
have an pg_getlastoid() function.
Hope it helps.

Saludos...:-)

--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Lane 2001-01-25 20:44:44 Maximum number of tables per DB.
Previous Message Alex Pilosov 2001-01-25 20:27:21 Re: Connection pooling