Re: serial autoincrement and related table

Поиск
Список
Период
Сортировка
От Milos Prudek
Тема Re: serial autoincrement and related table
Дата
Msg-id 40A8AA1B.7050807@bvx.cz
обсуждение исходный текст
Ответ на Re: serial autoincrement and related table  (Richard Huxton <dev@archonet.com>)
Ответы Re: serial autoincrement and related table  (Marco Colombo <marco@esi.it>)
Список pgsql-general
> Alternatively, you could rewrite this query:
> "INSERT INO msg (idmember,txt) VALUES (currval('members_idmember_seq'),
> %s);"

Cool. You helped me demolish 3 lines of code with no compromise in
legibility.


--
Milos Prudek


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: serial autoincrement and related table
Следующее
От: Milos Prudek
Дата:
Сообщение: Re: serial autoincrement and related table