Re: Quirk

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Quirk
Дата
Msg-id 13194.1165855042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Quirk  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> I suspect this is unnecessary, that the only reason cursors can't hold locks
> is because we don't support the kind of read-write operations that clients may
> expect to be able to issue against read-write cursors?

I think the rationale is that the SQL spec defines what DECLARE CURSOR
... FOR UPDATE should mean, and it is not what it would mean in PG if
we simply removed that error check.  If we allow it with PG semantics,
we'll be creating an upward compatibility gotcha for ourselves when
we do finally get around to implementing UPDATE ... WHERE CURRENT OF.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unixware and --with-ldap
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Vacuum, analyze, and setting reltuples of pg_class