Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers

Поиск
Список
Период
Сортировка
От toruvinn
Тема Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers
Дата
Msg-id op.upfv4euu33x80h@insanity.lain.pl
обсуждение исходный текст
Ответ на Re: BUG #4656: Indexes not used when comparing nextval() and currval() to integers  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-bugs
On Mon, 16 Feb 2009 10:37:27 +0100, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:
> You can read the value returned by currval into a host language variable
> and send it back as a ?.
Wouldn't it be possible to do UPDATE booking_entries SET date = ? where id = (SELECT
currval('booking_entries_id_seq'::regclass));too? 

--
ru

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

Предыдущее
От: "Tomasz Kolaj"
Дата:
Сообщение: BUG #4659: Can't configure static postgresql with static openssl
Следующее
От: "ITAGAKI Takahiro"
Дата:
Сообщение: BUG #4660: float functions return -0