return column id from insert

Поиск
Список
Период
Сортировка
От Rory Campbell-Lange
Тема return column id from insert
Дата
Msg-id 20021112115034.GB17654@campbell-lange.net
обсуждение исходный текст
Ответы Re: return column id from insert
Re: return column id from insert
Список pgsql-novice
I asked a question about this earlier, and didn't get a response I
understood!

The issue is this:
I need to make a database insert and then make an image with the
resulting column id number, which is provided by a sequence.

This has to be a single action, otherwise I could fall into a race
condition with another insert going on concurrently.

Any help much appreciated.

Thanks
Rory

--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>

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

Предыдущее
От: "Lakshmi Narayanan V"
Дата:
Сообщение: Invlalid EUC_JP character
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: return column id from insert