Re: Feature patch 1 for plperl [PATCH]

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Feature patch 1 for plperl [PATCH]
Дата
Msg-id 89142D2E-7EEC-44FA-A048-1BF2C3D814AE@kineticode.com
обсуждение исходный текст
Ответ на Re: Feature patch 1 for plperl [PATCH]  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Jan 10, 2010, at 11:17 AM, Robert Haas wrote:

> It's nicer to write:
>
> plperl.on_perl_init='strict,warnings,LDAP,HTML::Parser,Archive::Zip'
>
> rather than:
>
> plperl.on_perl_init='use strict;use warnings;use LDAP;use
> HTML::Parser;use Archive::Zip;'

Well, no, because sometimes I just want to load something and not have functions exported (into whatever namespaces
endsup calling this). So I might have something like: 
   plplerl.on_perl_init='use HTML::Entities ();'

Other times I might want those functions exported.

FWIW, Bricolage has a feature like this, and you can only put stuff on one line. It's been there since 2002 or so. No
onehas ever complained about it; I doubt anyone would complain about this, either. 

Best,

David




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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Typed tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: We need to rethink relation cache entry rebuild