Re: libpg: large object problems

Поиск
Список
Период
Сортировка
От greg@turnstep.com
Тема Re: libpg: large object problems
Дата
Msg-id 368e408ac6c9457106859cd97086d479@biglumber.com
обсуждение исходный текст
Ответ на Re: libpg: large object problems  (Seth Nickell <snickell@stanford.edu>)
Список pgsql-novice
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I'm unfortunately still having problems :-( Can I only do one lo_
> operation per transaction? e.g. is this valid?

Perfectly valid.

> If I only put one lo_ operation per transaction, I get back "0" for the
> fd (is this a valid fd?).

Yes, "0" is not only valid, but fairly common, as it is the fist "slot"
used for large objects.

Other than that, I think you are almost there if you institute the changes
Tom mentioned. Particularly, make sure you check the values of the lo_*
operations to see if they are returning a negative number.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200305032058

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE+tGctvJuQZxSWSsgRAr9aAJ4zX5Kl3TxO6CyzPifuXXGgjH+UUACggNs3
zIwyRHIV2UymA3fCy8miJSY=
=NYiw
-----END PGP SIGNATURE-----


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: libpg: large object problems
Следующее
От: Bob Hartung
Дата:
Сообщение: How to recover error message at boot time?