Last serial inserted - Mailing list pgsql-novice

From Eduardo
Subject Last serial inserted
Date
Msg-id 00101614551200.00949@YOSEMITE
Whole thread Raw
List pgsql-novice
 How can I get the last id ( serial number ) inserted.
 My C code is :

 res = PQexec(conn,"insert into table1 (field1) values ('value1')");


table1:
              id SERIAL,
              field1 VARCHAR(10)


Thanks
    Eduardo K

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re[2]: SETOF modifier
Next
From:
Date:
Subject: performance hit with large tables...jdbc?