Re: Moving snapshot code around

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Moving snapshot code around
Дата
Msg-id 1206484095.32670.1.camel@goldbach
обсуждение исходный текст
Ответ на Moving snapshot code around  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Moving snapshot code around  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Tue, 2008-03-18 at 16:19 -0300, Alvaro Herrera wrote:
> The other approach, of course, is to just keep all the code in tqual.c
> and not create a separate module at all.  Opinions?  I prefer to keep
> them separate, but I'm not wedded to it if there's any strong reason not
> to do it.  Also, the line is currently blurred because some users of
> snapshots mess with the internals directly (setting snapshot->curcid),
> but we could clean that up and make it so that those become external
> interface users too.

Sounds like a good idea to me -- +1 on keeping the code in two separate
files, and moving snapshot users toward using the external interface.

Given that there's no functional change here, I don't see anything to
stop this patch being applied sooner rather than later...

-Neil



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

Предыдущее
От: Robert Lor
Дата:
Сообщение: Doc patch for DTrace
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Text <-> C string