Re: Review: Fix snapshot taking inconsistencies

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: Review: Fix snapshot taking inconsistencies
Дата
Msg-id BLU0-SMTP324F8AF960D5FA59A34B2BAC6F0@phx.gbl
обсуждение исходный текст
Ответ на Re: Review: Fix snapshot taking inconsistencies  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Ответы Re: Review: Fix snapshot taking inconsistencies  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
On Mon, 4 Oct 2010, Marko Tiikkaja wrote:

> the patch does, modules start behaving weirdly.  So what I'm suggesting is:
>
>  - Deprecate pg_parse_and_rewrite().  I have no idea how the project
>    has done this in the past, but grepping the source code for
>    "deprecated" suggests that we just remove the function.
>
>  - Introduce a new function, specifically designed for SQL functions.
>    Both callers of pg_parse_and_rewrite (init_sql_fcache and
>    fmgr_sql_validator) call check_sql_fn_retval after
>    pg_parse_and_rewrite so I think we could merge those into the new
>    function.
>
> Does anyone have any concerns about this?  Better ideas?

The only comment I've seen on this was from Tom and his only concern was 
that old code wouldn't be able to compile against a new version of the 
function.  What you propose (delete pg_parse_and_rewrite) and replacing it 
with a function of the new name sounds fine.

Since no one else has proposed a better idea and the commit fest is ticking 
away I think you should go ahead and do that.



>
>
> Regards,
> Marko Tiikkaja

Steve



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: todo point: plpgsql - scrollable cursors are supported
Следующее
От: Robert Haas
Дата:
Сообщение: Re: leaky views, yet again