kartoza / docker-postgis

Dockerfile for postgis
GNU General Public License v2.0
660 stars 313 forks source link

Add plperl extension #478

Closed sgaunet closed 2 weeks ago

sgaunet commented 4 months ago

Feature description

Hello,

I'm interested by the plperl extension. Is there a way to add it ?

Additional context

No response

NyakudyaA commented 4 months ago

Have you tried?

CREATE EXTENSION plperl
sgaunet commented 4 months ago

I have tested, it's not working with the last stable version: 16-3.4--v2024.03.17

Here is the log:

postgis-db-1  | 2024-07-23 06:29:34.493 UTC [225] docker@gis ERROR:  extension "plperl" is not available
postgis-db-1  | 2024-07-23 06:29:34.493 UTC [225] docker@gis DETAIL:  Could not open extension control file "/usr/share/postgresql/16/extension/plperl.control": No such file or directory.
postgis-db-1  | 2024-07-23 06:29:34.493 UTC [225] docker@gis HINT:  The extension must first be installed on the system where PostgreSQL is running.
NyakudyaA commented 2 weeks ago

You will need to install additional packages needed for the extension. Please check the documentation for that extension and if you find the packages there are various ways to extend this image