Обсуждение: Large Objects Documentation Flaw

Поиск
Список
Период
Сортировка

Large Objects Documentation Flaw

От
Alois Maier
Дата:
I have come across a documentation flaw in the Large
Object Interface Documentation of Postgres 6.5.1 (
Chapter 15 of the Programmer's guide).
For me, lo_open() only worked from within a
transaction (but lo_creat() worked even outside a
transaction).
However, chapter 15 doesn't say any such thing. The
sample program testlo.c from 15 chapter thus intiates
a transaction in main prior to calling ImportFile().
But there is no clarifying comment that the
transaction is really required.

Hope this helps,
    alois

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com