From: F. <dev001@pas-world.com>
To: pgsql-php@postgresql.org
Subject: Re: PREPARE -> EXECUTE Problem
Date: Thu, 15 Jan 2009 12:43:30 +0100
Message-ID: <1232019811.9838.9.camel@localhost.localdomain> (raw)
>Just ignore the default.
>Have you set up the table with SERIAL?
>if so this should work:
After some changes, for the moment seems the good choice.
But have a problem getting pdo->lastInsertId(), do not work in postgre
for me.
I am using this :
select currval('table_id_seq');
Any clear method?
--
--
Publicidad http://www.pas-world.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: dev001@pas-world.com
Subject: Re: PREPARE -> EXECUTE Problem
In-Reply-To: <1232019811.9838.9.camel@localhost.localdomain>
References: <1232019811.9838.9.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox