Retiring pg_regress' --load-language option

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Retiring pg_regress' --load-language option
Date: 2020-02-13 20:56:33
Message-ID: 6853.1581627393@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pg_regress' --load-language option has been unused in the core code since
we introduced extensions in 9.1; all callers now use --load-extension
instead. It's a fairly safe bet that it's never been used by any non-core
code, since it could only work for languages listed in pg_pltemplate.
The last possible reason to use it expired with commit 50fc694e4, which
removed pg_pltemplate and made parameterless CREATE LANGUAGE equivalent
to CREATE EXTENSION. So I think we might as well kill it, as per the
attached trivial patch. Any objections?

regards, tom lane

Attachment Content-Type Size
remove-load-language-option.patch text/x-diff 2.5 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2020-02-13 21:34:09 Re: Just for fun: Postgres 20?
Previous Message legrand legrand 2020-02-13 19:57:11 Re: Implementing Incremental View Maintenance