Last serial number inserted

Поиск
Список
Период
Сортировка
От Eduardo
Тема Last serial number inserted
Дата
Msg-id 00101708182600.00842@YOSEMITE
обсуждение исходный текст
Список pgsql-sql
 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-sql по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: JDBC Performance
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Last serial number inserted