Re: Attention PL authors: want to be listed in template table?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Attention PL authors: want to be listed in template table?
Date: 2005-09-07 23:33:35
Message-ID: 1096.1126136015@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane wrote:
>> In any case, not one of these arguments seems to me to favor the
>> alternative of preloading definitions into pg_language:

> That is not the alternative I am proposing. Your template idea,
> hard-coded even, is just fine for core languages. For non-core
> languages I am proposing that we simply do nothing because the problem
> we are solving does not exist, or at least has a wildly different
> nature.

Ah. We have been talking at cross-purposes then, because I thought you
were arguing for putting exactly the same template information into a
different place.

Given that, I think we can just agree to disagree: whether a particular
PL could benefit from a template entry is up to the author of that PL
to decide. Depending on the extent of the changes needed for 8.1, it
might or might not make sense to assume that a source code update is
needed, and if there isn't then maybe adding a template is a bad idea.

It does seem though that your arguments indicate a possible need for
local adjustment of the template info ... which means the hard-wired
approach is not good enough, and we have to take the next step of
creating a system catalog.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2005-09-07 23:36:00 Re: Attention PL authors: want to be listed in template table?
Previous Message Peter Eisentraut 2005-09-07 23:22:37 Re: Attention PL authors: want to be listed in template table?