PL/Perl embedding string common elements

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема PL/Perl embedding string common elements
Дата
Msg-id 20050820193557.GA77080@winnie.fuhr.org
обсуждение исходный текст
Ответы Re: PL/Perl embedding string common elements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
The attached patch moves the common elements of loose_embedding[]
and strict_embedding[] to a macro so they can be maintained in
one place.  As Tom Lane noticed, ::_plperl_to_pg_array was missing
from strict_embedding[], which appears to be a bug.

http://archives.postgresql.org/pgsql-bugs/2005-08/msg00189.php

I'm not sure this patch meets Tom's request to avoid "too much
violence to the readability," mostly because of the added backslashes
at the end of the macro's lines.  Opinions?

--
Michael Fuhr

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: PL/Perl namespace fix
Следующее
От: Michael Fuhr
Дата:
Сообщение: PL/Perl regression tests with use_strict