Re: easy way to insert same value into 2 columns

Поиск
Список
Период
Сортировка
От Sebastian Boeck
Тема Re: easy way to insert same value into 2 columns
Дата
Msg-id 3F8E86B7.7090907@freenet.de
обсуждение исходный текст
Ответ на Re: easy way to insert same value into 2 columns  (Csaba Nagy <nagy@ecircle-ag.com>)
Ответы Re: easy way to insert same value into 2 columns
Список pgsql-general
Csaba Nagy wrote:
> I can't 100% say it's safe to use, but no, other inserts will not
> influence the value, because currval will return the last sequence value
> used by the current session (i.e. the current connection). And of course
> you only have concurrent inserts using different connection, right ?
>
> HTH,
> Csaba.

Yes, that' right.

Thanks

Sebastian


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

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: Maping Oracle nvarchar2(lenght) to PostgreSQL varchar(lenght)
Следующее
От: Sebastian Boeck
Дата:
Сообщение: Re: easy way to insert same value into 2 columns