PostgreSQL + PHP + SQL warning messages

Started by Evelio Martinezabout 25 years ago4 messagesgeneral
Jump to latest
#1Evelio Martinez
evelio.martinez@testanet.com

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.

Thanks in advance

--
Evelio Mart�nez
Testanet. Dept. desarrollo software.
Av. Reino de Valencia, 15 - 5
46005 Valencia (Spain)
Tel: +34 96 395 90 00
Fax: +34 96 316 23 19

#2Martin A. Marques
martin@math.unl.edu.ar
In reply to: Evelio Martinez (#1)
Re: [PHP] PostgreSQL + PHP + SQL warning messages

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
-----------------------------------------------------------------

#3Mark Lane
mlane@mynewthing.com
In reply to: Martin A. Marques (#2)
Maximum number of tables per DB.

Does anyone know how many tables I can have in One database. I am using
postgreSQL for a massive listserver database that has 16,000+ list and will
have over 160,000 tables.

Mark

#4Flemming Frøkjær
flemming@froekjaer.org
In reply to: Mark Lane (#3)
Re: Maximum number of tables per DB.

I think there is something seriously wrong with your database design.
Are you creating 10 tables for each list? Why?

\Flemming

At 01:44 PM 1/25/2001 -0700, you wrote:

Show quoted text

Does anyone know how many tables I can have in One database. I am using
postgreSQL for a massive listserver database that has 16,000+ list and will
have over 160,000 tables.

Mark