Re: Incorrect description of xmax and xip in functions docs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Incorrect description of xmax and xip in functions docs
Дата
Msg-id 200809071231.m87CVmD12043@momjian.us
обсуждение исходный текст
Ответ на Re: Incorrect description of xmax and xip in functions docs  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Incorrect description of xmax and xip in functions docs  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-docs
Simon Riggs wrote:
>
> On Sat, 2008-09-06 at 21:31 -0400, Bruce Momjian wrote:
> > Applied, and attached.
>
> Thanks.
>
> > > And for txid_visible_in_snapshot() comment added:
> > > "Function should not be used with subtransaction xids. It is possible
> > > that this function will return a true result for a subtransaction xid
> > > that was actually still in progress at the time of the snapshot".
> >
> > I think the cleaner solution is to throw an appropriate error if a
> > subtransaction xid is used, rather than adding documentation.
>
> Or maybe check subtrans for it, as it really should be doing.

Yea, that's what I meant.  You can't be sure everyone is going to read
the documentation but they are sure to see the function results or error
message.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Incorrect description of xmax and xip in functions docs
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Incorrect description of xmax and xip in functions docs