Re: lo_creat() bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: lo_creat() bug
Дата
Msg-id 4905.1000737130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на lo_creat() bug  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
> If lo_initialize returns < 0, you have some pretty serious problems - out
> of memory, conn is invalid, etc. However, casting -1 to Oid returns what
> seems to be a valid Oid. Shouldn't it return InvalidOid?

Yes, evidently so.  Good catch!
        regards, tom lane


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