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

Re: PREPARE -> EXECUTE Problem

From: "F(dot)" <dev001(at)pas-world(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: PREPARE -> EXECUTE Problem
Date: 2009-01-15 11:43:30
Message-ID: 1232019811.9838.9.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-php
        >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


Responses

pgsql-php by date

Next:From: Jasen BettsDate: 2009-01-18 00:48:24
Subject: Re: PREPARE -> EXECUTE Problem
Previous:From: ChrisDate: 2009-01-15 04:40:48
Subject: Re: PREPARE -> EXEC Problem

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