From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Make contrib modules' installation scripts more secure. |
Date: | 2020-08-11 11:54:48 |
Message-ID: | 20200811115448.GC4154579@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Re: To PostgreSQL Hackers
> I think this change neglected to add plpgsql to the extension
> dependencies in the .control file:
>
> 12:53:51 # Failed test 'psql -qc 'CREATE EXTENSION "cube"''
> 12:53:51 # at t/TestLib.pm line 213.
> 12:53:51 not ok 68 - psql -qc 'CREATE EXTENSION "cube"'
> 12:53:51 # got: '1'
> 12:53:51 # expected: '0'
> 12:53:51 not ok 69 - extension cube installs without error
> 12:53:51 # Failed test 'extension cube installs without error'
> 12:53:51 # at t/TestLib.pm line 214.
> 12:53:51 # got: 'ERROR: language "plpgsql" does not exist
> 12:53:51 # HINT: Use CREATE EXTENSION to load the language into the database.
> 12:53:51 # '
Or maybe the argument is that the extension needs plpgsql only at
install time, and not to run, and you could really remove it after the
CREATE EXTENSION has been done. But that argument feels pretty icky.
And dump-restore would fail.
At least the error message is very explicit.
Christoph
From | Date | Subject | |
---|---|---|---|
Next Message | Asim Praveen | 2020-08-11 11:55:05 | Re: SyncRepLock acquired exclusively in default configuration |
Previous Message | Laurenz Albe | 2020-08-11 11:53:42 | Re: Add session statistics to pg_stat_database |