Re: [PHP] PostgreSQL + PHP + SQL warning messages - Mailing list pgsql-general

From Martin A. Marques
Subject Re: [PHP] PostgreSQL + PHP + SQL warning messages
Date
Msg-id 01012517292709.21569@math.unl.edu.ar
Whole thread Raw
In response to PostgreSQL + PHP + SQL warning messages  (Evelio Martinez <evelio.martinez@testanet.com>)
Responses Maximum number of tables per DB.  (Mark Lane <mlane@mynewthing.com>)
List 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@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: Connection pooling
Next
From: Mark Lane
Date:
Subject: Maximum number of tables per DB.