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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Attention PL authors: want to be listed in template table?
Date: 2005-09-08 20:14:12
Message-ID: 25312.1126210452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> Well, that's exactly the point Peter is arguing: he thinks (if I
> understand correctly) that the template mechanism should only be used
> for stuff that's included with the core distribution. I disagree;
> I have seldom seen any good reason for restricting mechanisms to work
> with only core components. It does seem apparent however that we need
> the templates to be reconfigurable for local conditions ... so the
> hardwired table is out, even as a one-release stopgap. I'll work on
> building a catalog tomorrow.

I've committed the changes to have a system catalog in place of the
hard-wired table. In the initial commit, I listed only the languages
included in the core distribution. It's still possible to add
additional entries for non-core languages into the default table
contents, and I'll be happy to do that for any PL authors who want them.
However, given that it is now possible for superusers to alter the
catalog contents, it's not so pressing to have a preloaded entry ---
you could instead suggest that people create an entry while installing
your language.

Were any of the people who already asked for entries persuaded by
Peter's arguments that non-core languages are better off without a
standard template entry? Let me know if you still want one.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-08 20:27:48 Re: PQ versions request message
Previous Message Thomas Hallgren 2005-09-08 19:52:56 Re: Attention PL authors: want to be listed in template table?