Skip to content

plsh

PL/sh procedural language

plsh · PL/sh procedural language

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3080plshplsh1.20220917LANGPostgreSQLC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-rNoYesNoYesyesno

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPGDG1.2022091719 18 17 16 15plsh-
RPMPGDG1.2022091719 18 17 16 15plsh_$v-
DEBPGDG1.2022091719 18 17 16 15postgresql-$v-plsh-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
el8.aarch64N/APGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
el9.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
el9.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
el10.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
el10.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
d12.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
d12.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
d13.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
d13.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u22.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u22.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u24.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u24.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u26.x86_64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
u26.aarch64PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917PGDG 1.20220917
PackageVersionOSORGSIZEFile URL
plsh_191.20220917el9.x86_64pgdg22.1 KiBplsh_19-1.20220917-13PGDG.rhel9.9.x86_64.rpm
plsh_191.20220917el9.x86_64pgdg22.1 KiBplsh_19-1.20220917-13PGDG.rhel9.8.x86_64.rpm
plsh_191.20220917el9.x86_64pgdg22.1 KiBplsh_19-1.20220917-13PGDG.rhel9.7.x86_64.rpm
plsh_191.20220917el9.aarch64pgdg21.8 KiBplsh_19-1.20220917-13PGDG.rhel9.9.aarch64.rpm
plsh_191.20220917el9.aarch64pgdg21.8 KiBplsh_19-1.20220917-13PGDG.rhel9.8.aarch64.rpm
plsh_191.20220917el9.aarch64pgdg21.8 KiBplsh_19-1.20220917-13PGDG.rhel9.7.aarch64.rpm
plsh_191.20220917el10.x86_64pgdg22.2 KiBplsh_19-1.20220917-13PGDG.rhel10.3.x86_64.rpm
plsh_191.20220917el10.x86_64pgdg22.3 KiBplsh_19-1.20220917-13PGDG.rhel10.2.x86_64.rpm
plsh_191.20220917el10.x86_64pgdg22.2 KiBplsh_19-1.20220917-13PGDG.rhel10.1.x86_64.rpm
plsh_191.20220917el10.aarch64pgdg22.2 KiBplsh_19-1.20220917-13PGDG.rhel10.3.aarch64.rpm
plsh_191.20220917el10.aarch64pgdg22.2 KiBplsh_19-1.20220917-13PGDG.rhel10.2.aarch64.rpm
plsh_191.20220917el10.aarch64pgdg22.2 KiBplsh_19-1.20220917-13PGDG.rhel10.1.aarch64.rpm
postgresql-19-plsh1.20220917d12.x86_64pgdg27.8 KiBpostgresql-19-plsh_1.20220917-5.pgdg12+1_amd64.deb
postgresql-19-plsh1.20220917d12.x86_64pgdg27.8 KiBpostgresql-19-plsh_1.20220917-4.pgdg12+3_amd64.deb
postgresql-19-plsh1.20220917d12.x86_64pgdg27.6 KiBpostgresql-19-plsh_1.20220917-4.pgdg12+2_amd64.deb
postgresql-19-plsh1.20220917d12.aarch64pgdg27.3 KiBpostgresql-19-plsh_1.20220917-5.pgdg12+1_arm64.deb
postgresql-19-plsh1.20220917d12.aarch64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-4.pgdg12+3_arm64.deb
postgresql-19-plsh1.20220917d12.aarch64pgdg27.1 KiBpostgresql-19-plsh_1.20220917-4.pgdg12+2_arm64.deb
postgresql-19-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-19-plsh_1.20220917-5.pgdg13+1_amd64.deb
postgresql-19-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-19-plsh_1.20220917-4.pgdg13+3_amd64.deb
postgresql-19-plsh1.20220917d13.x86_64pgdg27.8 KiBpostgresql-19-plsh_1.20220917-4.pgdg13+2_amd64.deb
postgresql-19-plsh1.20220917d13.aarch64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-5.pgdg13+1_arm64.deb
postgresql-19-plsh1.20220917d13.aarch64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-4.pgdg13+3_arm64.deb
postgresql-19-plsh1.20220917d13.aarch64pgdg27.3 KiBpostgresql-19-plsh_1.20220917-4.pgdg13+2_arm64.deb
postgresql-19-plsh1.20220917u22.x86_64pgdg29.7 KiBpostgresql-19-plsh_1.20220917-5.pgdg22.04+1_amd64.deb
postgresql-19-plsh1.20220917u22.x86_64pgdg29.7 KiBpostgresql-19-plsh_1.20220917-4.pgdg22.04+3_amd64.deb
postgresql-19-plsh1.20220917u22.x86_64pgdg29.5 KiBpostgresql-19-plsh_1.20220917-4.pgdg22.04+2_amd64.deb
postgresql-19-plsh1.20220917u22.aarch64pgdg28.8 KiBpostgresql-19-plsh_1.20220917-5.pgdg22.04+1_arm64.deb
postgresql-19-plsh1.20220917u22.aarch64pgdg28.8 KiBpostgresql-19-plsh_1.20220917-4.pgdg22.04+3_arm64.deb
postgresql-19-plsh1.20220917u22.aarch64pgdg28.7 KiBpostgresql-19-plsh_1.20220917-4.pgdg22.04+2_arm64.deb
postgresql-19-plsh1.20220917u24.x86_64pgdg27.9 KiBpostgresql-19-plsh_1.20220917-5.pgdg24.04+1_amd64.deb
postgresql-19-plsh1.20220917u24.x86_64pgdg27.9 KiBpostgresql-19-plsh_1.20220917-4.pgdg24.04+3_amd64.deb
postgresql-19-plsh1.20220917u24.x86_64pgdg27.7 KiBpostgresql-19-plsh_1.20220917-4.pgdg24.04+2_amd64.deb
postgresql-19-plsh1.20220917u24.aarch64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-5.pgdg24.04+1_arm64.deb
postgresql-19-plsh1.20220917u24.aarch64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-4.pgdg24.04+3_arm64.deb
postgresql-19-plsh1.20220917u24.aarch64pgdg27.2 KiBpostgresql-19-plsh_1.20220917-4.pgdg24.04+2_arm64.deb
postgresql-19-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-19-plsh_1.20220917-5.pgdg26.04+1_amd64.deb
postgresql-19-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-19-plsh_1.20220917-4.pgdg26.04+3_amd64.deb
postgresql-19-plsh1.20220917u26.x86_64pgdg27.4 KiBpostgresql-19-plsh_1.20220917-4.pgdg26.04+2_amd64.deb
postgresql-19-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-19-plsh_1.20220917-5.pgdg26.04+1_arm64.deb
postgresql-19-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-19-plsh_1.20220917-4.pgdg26.04+3_arm64.deb
postgresql-19-plsh1.20220917u26.aarch64pgdg26.9 KiBpostgresql-19-plsh_1.20220917-4.pgdg26.04+2_arm64.deb
PackageVersionOSORGSIZEFile URL
plsh_181.20220917el8.x86_64pgdg23.5 KiBplsh_18-1.20220917-13PGDG.rhel8.10.x86_64.rpm
plsh_181.20220917el8.x86_64pgdg22.4 KiBplsh_18-1.20220917-7PGDG.rhel8.x86_64.rpm
plsh_181.20220917el8.aarch64pgdg23.2 KiBplsh_18-1.20220917-13PGDG.rhel8.10.aarch64.rpm
plsh_181.20220917el8.aarch64pgdg22.1 KiBplsh_18-1.20220917-7PGDG.rhel8.aarch64.rpm
plsh_181.20220917el9.x86_64pgdg22.1 KiBplsh_18-1.20220917-13PGDG.rhel9.9.x86_64.rpm
plsh_181.20220917el9.x86_64pgdg22.1 KiBplsh_18-1.20220917-13PGDG.rhel9.8.x86_64.rpm
plsh_181.20220917el9.x86_64pgdg22.1 KiBplsh_18-1.20220917-13PGDG.rhel9.7.x86_64.rpm
plsh_181.20220917el9.x86_64pgdg21.3 KiBplsh_18-1.20220917-9PGDG.rhel9.8.x86_64.rpm
plsh_181.20220917el9.x86_64pgdg21.5 KiBplsh_18-1.20220917-7PGDG.rhel9.x86_64.rpm
plsh_181.20220917el9.aarch64pgdg21.8 KiBplsh_18-1.20220917-13PGDG.rhel9.9.aarch64.rpm
plsh_181.20220917el9.aarch64pgdg21.8 KiBplsh_18-1.20220917-13PGDG.rhel9.8.aarch64.rpm
plsh_181.20220917el9.aarch64pgdg21.8 KiBplsh_18-1.20220917-13PGDG.rhel9.7.aarch64.rpm
plsh_181.20220917el9.aarch64pgdg21.0 KiBplsh_18-1.20220917-9PGDG.rhel9.8.aarch64.rpm
plsh_181.20220917el9.aarch64pgdg20.9 KiBplsh_18-1.20220917-7PGDG.rhel9.aarch64.rpm
plsh_181.20220917el10.x86_64pgdg22.3 KiBplsh_18-1.20220917-13PGDG.rhel10.3.x86_64.rpm
plsh_181.20220917el10.x86_64pgdg22.2 KiBplsh_18-1.20220917-13PGDG.rhel10.2.x86_64.rpm
plsh_181.20220917el10.x86_64pgdg22.2 KiBplsh_18-1.20220917-13PGDG.rhel10.1.x86_64.rpm
plsh_181.20220917el10.x86_64pgdg21.6 KiBplsh_18-1.20220917-9PGDG.rhel10.2.x86_64.rpm
plsh_181.20220917el10.x86_64pgdg21.9 KiBplsh_18-1.20220917-7PGDG.rhel10.x86_64.rpm
plsh_181.20220917el10.aarch64pgdg22.2 KiBplsh_18-1.20220917-13PGDG.rhel10.3.aarch64.rpm
plsh_181.20220917el10.aarch64pgdg22.2 KiBplsh_18-1.20220917-13PGDG.rhel10.2.aarch64.rpm
plsh_181.20220917el10.aarch64pgdg22.2 KiBplsh_18-1.20220917-13PGDG.rhel10.1.aarch64.rpm
plsh_181.20220917el10.aarch64pgdg21.4 KiBplsh_18-1.20220917-9PGDG.rhel10.2.aarch64.rpm
plsh_181.20220917el10.aarch64pgdg21.7 KiBplsh_18-1.20220917-7PGDG.rhel10.aarch64.rpm
postgresql-18-plsh1.20220917d12.x86_64pgdg27.8 KiBpostgresql-18-plsh_1.20220917-5.pgdg12+1_amd64.deb
postgresql-18-plsh1.20220917d12.x86_64pgdg27.8 KiBpostgresql-18-plsh_1.20220917-4.pgdg12+3_amd64.deb
postgresql-18-plsh1.20220917d12.x86_64pgdg27.6 KiBpostgresql-18-plsh_1.20220917-4.pgdg12+2_amd64.deb
postgresql-18-plsh1.20220917d12.aarch64pgdg27.3 KiBpostgresql-18-plsh_1.20220917-5.pgdg12+1_arm64.deb
postgresql-18-plsh1.20220917d12.aarch64pgdg27.3 KiBpostgresql-18-plsh_1.20220917-4.pgdg12+3_arm64.deb
postgresql-18-plsh1.20220917d12.aarch64pgdg27.1 KiBpostgresql-18-plsh_1.20220917-4.pgdg12+2_arm64.deb
postgresql-18-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-18-plsh_1.20220917-5.pgdg13+1_amd64.deb
postgresql-18-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-18-plsh_1.20220917-4.pgdg13+3_amd64.deb
postgresql-18-plsh1.20220917d13.x86_64pgdg27.7 KiBpostgresql-18-plsh_1.20220917-4.pgdg13+2_amd64.deb
postgresql-18-plsh1.20220917d13.aarch64pgdg27.4 KiBpostgresql-18-plsh_1.20220917-5.pgdg13+1_arm64.deb
postgresql-18-plsh1.20220917d13.aarch64pgdg27.4 KiBpostgresql-18-plsh_1.20220917-4.pgdg13+3_arm64.deb
postgresql-18-plsh1.20220917d13.aarch64pgdg27.2 KiBpostgresql-18-plsh_1.20220917-4.pgdg13+2_arm64.deb
postgresql-18-plsh1.20220917u22.x86_64pgdg29.7 KiBpostgresql-18-plsh_1.20220917-5.pgdg22.04+1_amd64.deb
postgresql-18-plsh1.20220917u22.x86_64pgdg29.7 KiBpostgresql-18-plsh_1.20220917-4.pgdg22.04+3_amd64.deb
postgresql-18-plsh1.20220917u22.x86_64pgdg29.5 KiBpostgresql-18-plsh_1.20220917-4.pgdg22.04+2_amd64.deb
postgresql-18-plsh1.20220917u22.aarch64pgdg28.9 KiBpostgresql-18-plsh_1.20220917-5.pgdg22.04+1_arm64.deb
postgresql-18-plsh1.20220917u22.aarch64pgdg28.8 KiBpostgresql-18-plsh_1.20220917-4.pgdg22.04+3_arm64.deb
postgresql-18-plsh1.20220917u22.aarch64pgdg28.7 KiBpostgresql-18-plsh_1.20220917-4.pgdg22.04+2_arm64.deb
postgresql-18-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-18-plsh_1.20220917-5.pgdg24.04+1_amd64.deb
postgresql-18-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-18-plsh_1.20220917-4.pgdg24.04+3_amd64.deb
postgresql-18-plsh1.20220917u24.x86_64pgdg27.6 KiBpostgresql-18-plsh_1.20220917-4.pgdg24.04+2_amd64.deb
postgresql-18-plsh1.20220917u24.aarch64pgdg27.4 KiBpostgresql-18-plsh_1.20220917-5.pgdg24.04+1_arm64.deb
postgresql-18-plsh1.20220917u24.aarch64pgdg27.4 KiBpostgresql-18-plsh_1.20220917-4.pgdg24.04+3_arm64.deb
postgresql-18-plsh1.20220917u24.aarch64pgdg27.2 KiBpostgresql-18-plsh_1.20220917-4.pgdg24.04+2_arm64.deb
postgresql-18-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-18-plsh_1.20220917-5.pgdg26.04+1_amd64.deb
postgresql-18-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-18-plsh_1.20220917-4.pgdg26.04+3_amd64.deb
postgresql-18-plsh1.20220917u26.x86_64pgdg27.4 KiBpostgresql-18-plsh_1.20220917-4.pgdg26.04+2_amd64.deb
postgresql-18-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-18-plsh_1.20220917-5.pgdg26.04+1_arm64.deb
postgresql-18-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-18-plsh_1.20220917-4.pgdg26.04+3_arm64.deb
postgresql-18-plsh1.20220917u26.aarch64pgdg26.9 KiBpostgresql-18-plsh_1.20220917-4.pgdg26.04+2_arm64.deb
PackageVersionOSORGSIZEFile URL
plsh_171.20220917el8.x86_64pgdg23.5 KiBplsh_17-1.20220917-13PGDG.rhel8.10.x86_64.rpm
plsh_171.20220917el8.x86_64pgdg22.4 KiBplsh_17-1.20220917-6PGDG.rhel8.x86_64.rpm
plsh_171.20220917el8.aarch64pgdg23.2 KiBplsh_17-1.20220917-13PGDG.rhel8.10.aarch64.rpm
plsh_171.20220917el8.aarch64pgdg22.2 KiBplsh_17-1.20220917-6PGDG.rhel8.aarch64.rpm
plsh_171.20220917el9.x86_64pgdg22.0 KiBplsh_17-1.20220917-13PGDG.rhel9.9.x86_64.rpm
plsh_171.20220917el9.x86_64pgdg22.2 KiBplsh_17-1.20220917-13PGDG.rhel9.8.x86_64.rpm
plsh_171.20220917el9.x86_64pgdg22.0 KiBplsh_17-1.20220917-13PGDG.rhel9.7.x86_64.rpm
plsh_171.20220917el9.x86_64pgdg21.4 KiBplsh_17-1.20220917-9PGDG.rhel9.8.x86_64.rpm
plsh_171.20220917el9.x86_64pgdg21.7 KiBplsh_17-1.20220917-6PGDG.rhel9.x86_64.rpm
plsh_171.20220917el9.aarch64pgdg21.8 KiBplsh_17-1.20220917-13PGDG.rhel9.9.aarch64.rpm
plsh_171.20220917el9.aarch64pgdg21.8 KiBplsh_17-1.20220917-13PGDG.rhel9.8.aarch64.rpm
plsh_171.20220917el9.aarch64pgdg21.8 KiBplsh_17-1.20220917-13PGDG.rhel9.7.aarch64.rpm
plsh_171.20220917el9.aarch64pgdg21.0 KiBplsh_17-1.20220917-9PGDG.rhel9.8.aarch64.rpm
plsh_171.20220917el9.aarch64pgdg21.3 KiBplsh_17-1.20220917-6PGDG.rhel9.aarch64.rpm
plsh_171.20220917el10.x86_64pgdg22.2 KiBplsh_17-1.20220917-13PGDG.rhel10.3.x86_64.rpm
plsh_171.20220917el10.x86_64pgdg22.3 KiBplsh_17-1.20220917-13PGDG.rhel10.2.x86_64.rpm
plsh_171.20220917el10.x86_64pgdg22.3 KiBplsh_17-1.20220917-13PGDG.rhel10.1.x86_64.rpm
plsh_171.20220917el10.x86_64pgdg21.5 KiBplsh_17-1.20220917-9PGDG.rhel10.2.x86_64.rpm
plsh_171.20220917el10.x86_64pgdg21.9 KiBplsh_17-1.20220917-7PGDG.rhel10.x86_64.rpm
plsh_171.20220917el10.aarch64pgdg22.2 KiBplsh_17-1.20220917-13PGDG.rhel10.3.aarch64.rpm
plsh_171.20220917el10.aarch64pgdg22.2 KiBplsh_17-1.20220917-13PGDG.rhel10.2.aarch64.rpm
plsh_171.20220917el10.aarch64pgdg22.2 KiBplsh_17-1.20220917-13PGDG.rhel10.1.aarch64.rpm
plsh_171.20220917el10.aarch64pgdg21.4 KiBplsh_17-1.20220917-9PGDG.rhel10.2.aarch64.rpm
plsh_171.20220917el10.aarch64pgdg21.7 KiBplsh_17-1.20220917-7PGDG.rhel10.aarch64.rpm
postgresql-17-plsh1.20220917d12.x86_64pgdg27.7 KiBpostgresql-17-plsh_1.20220917-5.pgdg12+1_amd64.deb
postgresql-17-plsh1.20220917d12.x86_64pgdg27.7 KiBpostgresql-17-plsh_1.20220917-4.pgdg12+3_amd64.deb
postgresql-17-plsh1.20220917d12.x86_64pgdg27.5 KiBpostgresql-17-plsh_1.20220917-4.pgdg12+2_amd64.deb
postgresql-17-plsh1.20220917d12.aarch64pgdg27.2 KiBpostgresql-17-plsh_1.20220917-5.pgdg12+1_arm64.deb
postgresql-17-plsh1.20220917d12.aarch64pgdg27.2 KiBpostgresql-17-plsh_1.20220917-4.pgdg12+3_arm64.deb
postgresql-17-plsh1.20220917d12.aarch64pgdg27.1 KiBpostgresql-17-plsh_1.20220917-4.pgdg12+2_arm64.deb
postgresql-17-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-17-plsh_1.20220917-5.pgdg13+1_amd64.deb
postgresql-17-plsh1.20220917d13.x86_64pgdg27.8 KiBpostgresql-17-plsh_1.20220917-4.pgdg13+3_amd64.deb
postgresql-17-plsh1.20220917d13.x86_64pgdg27.7 KiBpostgresql-17-plsh_1.20220917-4.pgdg13+2_amd64.deb
postgresql-17-plsh1.20220917d13.aarch64pgdg27.3 KiBpostgresql-17-plsh_1.20220917-5.pgdg13+1_arm64.deb
postgresql-17-plsh1.20220917d13.aarch64pgdg27.3 KiBpostgresql-17-plsh_1.20220917-4.pgdg13+3_arm64.deb
postgresql-17-plsh1.20220917d13.aarch64pgdg27.1 KiBpostgresql-17-plsh_1.20220917-4.pgdg13+2_arm64.deb
postgresql-17-plsh1.20220917u22.x86_64pgdg34.2 KiBpostgresql-17-plsh_1.20220917-5.pgdg22.04+1_amd64.deb
postgresql-17-plsh1.20220917u22.x86_64pgdg34.2 KiBpostgresql-17-plsh_1.20220917-4.pgdg22.04+3_amd64.deb
postgresql-17-plsh1.20220917u22.x86_64pgdg34.0 KiBpostgresql-17-plsh_1.20220917-4.pgdg22.04+2_amd64.deb
postgresql-17-plsh1.20220917u22.aarch64pgdg33.4 KiBpostgresql-17-plsh_1.20220917-5.pgdg22.04+1_arm64.deb
postgresql-17-plsh1.20220917u22.aarch64pgdg33.4 KiBpostgresql-17-plsh_1.20220917-4.pgdg22.04+3_arm64.deb
postgresql-17-plsh1.20220917u22.aarch64pgdg33.2 KiBpostgresql-17-plsh_1.20220917-4.pgdg22.04+2_arm64.deb
postgresql-17-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-17-plsh_1.20220917-5.pgdg24.04+1_amd64.deb
postgresql-17-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-17-plsh_1.20220917-4.pgdg24.04+3_amd64.deb
postgresql-17-plsh1.20220917u24.x86_64pgdg27.6 KiBpostgresql-17-plsh_1.20220917-4.pgdg24.04+2_amd64.deb
postgresql-17-plsh1.20220917u24.aarch64pgdg27.3 KiBpostgresql-17-plsh_1.20220917-5.pgdg24.04+1_arm64.deb
postgresql-17-plsh1.20220917u24.aarch64pgdg27.3 KiBpostgresql-17-plsh_1.20220917-4.pgdg24.04+3_arm64.deb
postgresql-17-plsh1.20220917u24.aarch64pgdg27.2 KiBpostgresql-17-plsh_1.20220917-4.pgdg24.04+2_arm64.deb
postgresql-17-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-17-plsh_1.20220917-5.pgdg26.04+1_amd64.deb
postgresql-17-plsh1.20220917u26.x86_64pgdg27.6 KiBpostgresql-17-plsh_1.20220917-4.pgdg26.04+3_amd64.deb
postgresql-17-plsh1.20220917u26.x86_64pgdg27.3 KiBpostgresql-17-plsh_1.20220917-4.pgdg26.04+2_amd64.deb
postgresql-17-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-17-plsh_1.20220917-5.pgdg26.04+1_arm64.deb
postgresql-17-plsh1.20220917u26.aarch64pgdg27.0 KiBpostgresql-17-plsh_1.20220917-4.pgdg26.04+3_arm64.deb
postgresql-17-plsh1.20220917u26.aarch64pgdg26.9 KiBpostgresql-17-plsh_1.20220917-4.pgdg26.04+2_arm64.deb
PackageVersionOSORGSIZEFile URL
plsh_161.20220917el8.x86_64pgdg23.5 KiBplsh_16-1.20220917-13PGDG.rhel8.10.x86_64.rpm
plsh_161.20220917el8.x86_64pgdg22.2 KiBplsh_16-1.20220917-4PGDG.rhel8.x86_64.rpm
plsh_161.20220917el8.aarch64pgdg23.2 KiBplsh_16-1.20220917-13PGDG.rhel8.10.aarch64.rpm
plsh_161.20220917el8.aarch64pgdg22.0 KiBplsh_16-1.20220917-4PGDG.rhel8.aarch64.rpm
plsh_161.20220917el9.x86_64pgdg22.1 KiBplsh_16-1.20220917-13PGDG.rhel9.9.x86_64.rpm
plsh_161.20220917el9.x86_64pgdg22.1 KiBplsh_16-1.20220917-13PGDG.rhel9.8.x86_64.rpm
plsh_161.20220917el9.x86_64pgdg22.1 KiBplsh_16-1.20220917-13PGDG.rhel9.7.x86_64.rpm
plsh_161.20220917el9.x86_64pgdg21.4 KiBplsh_16-1.20220917-9PGDG.rhel9.8.x86_64.rpm
plsh_161.20220917el9.x86_64pgdg21.4 KiBplsh_16-1.20220917-4PGDG.rhel9.x86_64.rpm
plsh_161.20220917el9.aarch64pgdg21.8 KiBplsh_16-1.20220917-13PGDG.rhel9.9.aarch64.rpm
plsh_161.20220917el9.aarch64pgdg21.8 KiBplsh_16-1.20220917-13PGDG.rhel9.8.aarch64.rpm
plsh_161.20220917el9.aarch64pgdg21.8 KiBplsh_16-1.20220917-13PGDG.rhel9.7.aarch64.rpm
plsh_161.20220917el9.aarch64pgdg21.0 KiBplsh_16-1.20220917-9PGDG.rhel9.8.aarch64.rpm
plsh_161.20220917el9.aarch64pgdg20.9 KiBplsh_16-1.20220917-4PGDG.rhel9.aarch64.rpm
plsh_161.20220917el10.x86_64pgdg22.3 KiBplsh_16-1.20220917-13PGDG.rhel10.3.x86_64.rpm
plsh_161.20220917el10.x86_64pgdg22.2 KiBplsh_16-1.20220917-13PGDG.rhel10.2.x86_64.rpm
plsh_161.20220917el10.x86_64pgdg22.3 KiBplsh_16-1.20220917-13PGDG.rhel10.1.x86_64.rpm
plsh_161.20220917el10.x86_64pgdg21.5 KiBplsh_16-1.20220917-9PGDG.rhel10.2.x86_64.rpm
plsh_161.20220917el10.x86_64pgdg21.7 KiBplsh_16-1.20220917-7PGDG.rhel10.x86_64.rpm
plsh_161.20220917el10.aarch64pgdg22.2 KiBplsh_16-1.20220917-13PGDG.rhel10.3.aarch64.rpm
plsh_161.20220917el10.aarch64pgdg22.2 KiBplsh_16-1.20220917-13PGDG.rhel10.2.aarch64.rpm
plsh_161.20220917el10.aarch64pgdg22.2 KiBplsh_16-1.20220917-13PGDG.rhel10.1.aarch64.rpm
plsh_161.20220917el10.aarch64pgdg21.4 KiBplsh_16-1.20220917-9PGDG.rhel10.2.aarch64.rpm
plsh_161.20220917el10.aarch64pgdg21.7 KiBplsh_16-1.20220917-7PGDG.rhel10.aarch64.rpm
postgresql-16-plsh1.20220917d12.x86_64pgdg27.7 KiBpostgresql-16-plsh_1.20220917-5.pgdg12+1_amd64.deb
postgresql-16-plsh1.20220917d12.x86_64pgdg27.6 KiBpostgresql-16-plsh_1.20220917-4.pgdg12+3_amd64.deb
postgresql-16-plsh1.20220917d12.x86_64pgdg27.5 KiBpostgresql-16-plsh_1.20220917-4.pgdg12+2_amd64.deb
postgresql-16-plsh1.20220917d12.aarch64pgdg27.2 KiBpostgresql-16-plsh_1.20220917-5.pgdg12+1_arm64.deb
postgresql-16-plsh1.20220917d12.aarch64pgdg27.2 KiBpostgresql-16-plsh_1.20220917-4.pgdg12+3_arm64.deb
postgresql-16-plsh1.20220917d12.aarch64pgdg27.1 KiBpostgresql-16-plsh_1.20220917-4.pgdg12+2_arm64.deb
postgresql-16-plsh1.20220917d13.x86_64pgdg27.9 KiBpostgresql-16-plsh_1.20220917-5.pgdg13+1_amd64.deb
postgresql-16-plsh1.20220917d13.x86_64pgdg27.8 KiBpostgresql-16-plsh_1.20220917-4.pgdg13+3_amd64.deb
postgresql-16-plsh1.20220917d13.x86_64pgdg27.6 KiBpostgresql-16-plsh_1.20220917-4.pgdg13+2_amd64.deb
postgresql-16-plsh1.20220917d13.aarch64pgdg27.3 KiBpostgresql-16-plsh_1.20220917-5.pgdg13+1_arm64.deb
postgresql-16-plsh1.20220917d13.aarch64pgdg27.3 KiBpostgresql-16-plsh_1.20220917-4.pgdg13+3_arm64.deb
postgresql-16-plsh1.20220917d13.aarch64pgdg27.1 KiBpostgresql-16-plsh_1.20220917-4.pgdg13+2_arm64.deb
postgresql-16-plsh1.20220917u22.x86_64pgdg33.8 KiBpostgresql-16-plsh_1.20220917-5.pgdg22.04+1_amd64.deb
postgresql-16-plsh1.20220917u22.x86_64pgdg33.8 KiBpostgresql-16-plsh_1.20220917-4.pgdg22.04+3_amd64.deb
postgresql-16-plsh1.20220917u22.x86_64pgdg33.6 KiBpostgresql-16-plsh_1.20220917-4.pgdg22.04+2_amd64.deb
postgresql-16-plsh1.20220917u22.aarch64pgdg33.0 KiBpostgresql-16-plsh_1.20220917-5.pgdg22.04+1_arm64.deb
postgresql-16-plsh1.20220917u22.aarch64pgdg33.1 KiBpostgresql-16-plsh_1.20220917-4.pgdg22.04+3_arm64.deb
postgresql-16-plsh1.20220917u22.aarch64pgdg32.8 KiBpostgresql-16-plsh_1.20220917-4.pgdg22.04+2_arm64.deb
postgresql-16-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-16-plsh_1.20220917-5.pgdg24.04+1_amd64.deb
postgresql-16-plsh1.20220917u24.x86_64pgdg27.8 KiBpostgresql-16-plsh_1.20220917-4.pgdg24.04+3_amd64.deb
postgresql-16-plsh1.20220917u24.x86_64pgdg27.6 KiBpostgresql-16-plsh_1.20220917-4.pgdg24.04+2_amd64.deb
postgresql-16-plsh1.20220917u24.aarch64pgdg27.3 KiBpostgresql-16-plsh_1.20220917-5.pgdg24.04+1_arm64.deb
postgresql-16-plsh1.20220917u24.aarch64pgdg27.3 KiBpostgresql-16-plsh_1.20220917-4.pgdg24.04+3_arm64.deb
postgresql-16-plsh1.20220917u24.aarch64pgdg27.1 KiBpostgresql-16-plsh_1.20220917-4.pgdg24.04+2_arm64.deb
postgresql-16-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-16-plsh_1.20220917-5.pgdg26.04+1_amd64.deb
postgresql-16-plsh1.20220917u26.x86_64pgdg27.5 KiBpostgresql-16-plsh_1.20220917-4.pgdg26.04+3_amd64.deb
postgresql-16-plsh1.20220917u26.x86_64pgdg27.3 KiBpostgresql-16-plsh_1.20220917-4.pgdg26.04+2_amd64.deb
postgresql-16-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-16-plsh_1.20220917-5.pgdg26.04+1_arm64.deb
postgresql-16-plsh1.20220917u26.aarch64pgdg27.1 KiBpostgresql-16-plsh_1.20220917-4.pgdg26.04+3_arm64.deb
postgresql-16-plsh1.20220917u26.aarch64pgdg26.9 KiBpostgresql-16-plsh_1.20220917-4.pgdg26.04+2_arm64.deb
PackageVersionOSORGSIZEFile URL
plsh_151.20220917el8.x86_64pgdg23.5 KiBplsh_15-1.20220917-13PGDG.rhel8.10.x86_64.rpm
plsh_151.20220917el8.x86_64pgdg21.8 KiBplsh_15-1.20220917-1.rhel8.x86_64.rpm
plsh_151.20220917el8.aarch64pgdg23.2 KiBplsh_15-1.20220917-13PGDG.rhel8.10.aarch64.rpm
plsh_151.20220917el8.aarch64pgdg21.5 KiBplsh_15-1.20220917-1.rhel8.aarch64.rpm
plsh_151.20220917el9.x86_64pgdg22.2 KiBplsh_15-1.20220917-13PGDG.rhel9.9.x86_64.rpm
plsh_151.20220917el9.x86_64pgdg22.1 KiBplsh_15-1.20220917-13PGDG.rhel9.8.x86_64.rpm
plsh_151.20220917el9.x86_64pgdg22.0 KiBplsh_15-1.20220917-13PGDG.rhel9.7.x86_64.rpm
plsh_151.20220917el9.x86_64pgdg21.2 KiBplsh_15-1.20220917-9PGDG.rhel9.8.x86_64.rpm
plsh_151.20220917el9.x86_64pgdg21.6 KiBplsh_15-1.20220917-1.rhel9.x86_64.rpm
plsh_151.20220917el9.aarch64pgdg21.6 KiBplsh_15-1.20220917-13PGDG.rhel9.9.aarch64.rpm
plsh_151.20220917el9.aarch64pgdg21.7 KiBplsh_15-1.20220917-13PGDG.rhel9.8.aarch64.rpm
plsh_151.20220917el9.aarch64pgdg21.7 KiBplsh_15-1.20220917-13PGDG.rhel9.7.aarch64.rpm
plsh_151.20220917el9.aarch64pgdg20.9 KiBplsh_15-1.20220917-9PGDG.rhel9.8.aarch64.rpm
plsh_151.20220917el9.aarch64pgdg20.9 KiBplsh_15-1.20220917-1.rhel9.aarch64.rpm
plsh_151.20220917el10.x86_64pgdg22.2 KiBplsh_15-1.20220917-13PGDG.rhel10.3.x86_64.rpm
plsh_151.20220917el10.x86_64pgdg22.2 KiBplsh_15-1.20220917-13PGDG.rhel10.2.x86_64.rpm
plsh_151.20220917el10.x86_64pgdg22.2 KiBplsh_15-1.20220917-13PGDG.rhel10.1.x86_64.rpm
plsh_151.20220917el10.x86_64pgdg21.5 KiBplsh_15-1.20220917-9PGDG.rhel10.2.x86_64.rpm
plsh_151.20220917el10.x86_64pgdg21.8 KiBplsh_15-1.20220917-7PGDG.rhel10.x86_64.rpm
plsh_151.20220917el10.aarch64pgdg22.1 KiBplsh_15-1.20220917-13PGDG.rhel10.3.aarch64.rpm
plsh_151.20220917el10.aarch64pgdg22.1 KiBplsh_15-1.20220917-13PGDG.rhel10.2.aarch64.rpm
plsh_151.20220917el10.aarch64pgdg22.1 KiBplsh_15-1.20220917-13PGDG.rhel10.1.aarch64.rpm
plsh_151.20220917el10.aarch64pgdg21.3 KiBplsh_15-1.20220917-9PGDG.rhel10.2.aarch64.rpm
plsh_151.20220917el10.aarch64pgdg21.6 KiBplsh_15-1.20220917-7PGDG.rhel10.aarch64.rpm
postgresql-15-plsh1.20220917d12.x86_64pgdg27.4 KiBpostgresql-15-plsh_1.20220917-5.pgdg12+1_amd64.deb
postgresql-15-plsh1.20220917d12.x86_64pgdg27.4 KiBpostgresql-15-plsh_1.20220917-4.pgdg12+3_amd64.deb
postgresql-15-plsh1.20220917d12.x86_64pgdg27.2 KiBpostgresql-15-plsh_1.20220917-4.pgdg12+2_amd64.deb
postgresql-15-plsh1.20220917d12.aarch64pgdg27.0 KiBpostgresql-15-plsh_1.20220917-5.pgdg12+1_arm64.deb
postgresql-15-plsh1.20220917d12.aarch64pgdg27.0 KiBpostgresql-15-plsh_1.20220917-4.pgdg12+3_arm64.deb
postgresql-15-plsh1.20220917d12.aarch64pgdg26.9 KiBpostgresql-15-plsh_1.20220917-4.pgdg12+2_arm64.deb
postgresql-15-plsh1.20220917d13.x86_64pgdg27.6 KiBpostgresql-15-plsh_1.20220917-5.pgdg13+1_amd64.deb
postgresql-15-plsh1.20220917d13.x86_64pgdg27.5 KiBpostgresql-15-plsh_1.20220917-4.pgdg13+3_amd64.deb
postgresql-15-plsh1.20220917d13.x86_64pgdg27.4 KiBpostgresql-15-plsh_1.20220917-4.pgdg13+2_amd64.deb
postgresql-15-plsh1.20220917d13.aarch64pgdg27.1 KiBpostgresql-15-plsh_1.20220917-5.pgdg13+1_arm64.deb
postgresql-15-plsh1.20220917d13.aarch64pgdg27.0 KiBpostgresql-15-plsh_1.20220917-4.pgdg13+3_arm64.deb
postgresql-15-plsh1.20220917d13.aarch64pgdg26.9 KiBpostgresql-15-plsh_1.20220917-4.pgdg13+2_arm64.deb
postgresql-15-plsh1.20220917u22.x86_64pgdg33.5 KiBpostgresql-15-plsh_1.20220917-5.pgdg22.04+1_amd64.deb
postgresql-15-plsh1.20220917u22.x86_64pgdg33.5 KiBpostgresql-15-plsh_1.20220917-4.pgdg22.04+3_amd64.deb
postgresql-15-plsh1.20220917u22.x86_64pgdg33.3 KiBpostgresql-15-plsh_1.20220917-4.pgdg22.04+2_amd64.deb
postgresql-15-plsh1.20220917u22.aarch64pgdg32.8 KiBpostgresql-15-plsh_1.20220917-5.pgdg22.04+1_arm64.deb
postgresql-15-plsh1.20220917u22.aarch64pgdg32.8 KiBpostgresql-15-plsh_1.20220917-4.pgdg22.04+3_arm64.deb
postgresql-15-plsh1.20220917u22.aarch64pgdg32.6 KiBpostgresql-15-plsh_1.20220917-4.pgdg22.04+2_arm64.deb
postgresql-15-plsh1.20220917u24.x86_64pgdg27.5 KiBpostgresql-15-plsh_1.20220917-5.pgdg24.04+1_amd64.deb
postgresql-15-plsh1.20220917u24.x86_64pgdg27.5 KiBpostgresql-15-plsh_1.20220917-4.pgdg24.04+3_amd64.deb
postgresql-15-plsh1.20220917u24.x86_64pgdg27.3 KiBpostgresql-15-plsh_1.20220917-4.pgdg24.04+2_amd64.deb
postgresql-15-plsh1.20220917u24.aarch64pgdg27.1 KiBpostgresql-15-plsh_1.20220917-5.pgdg24.04+1_arm64.deb
postgresql-15-plsh1.20220917u24.aarch64pgdg27.1 KiBpostgresql-15-plsh_1.20220917-4.pgdg24.04+3_arm64.deb
postgresql-15-plsh1.20220917u24.aarch64pgdg26.9 KiBpostgresql-15-plsh_1.20220917-4.pgdg24.04+2_arm64.deb
postgresql-15-plsh1.20220917u26.x86_64pgdg27.2 KiBpostgresql-15-plsh_1.20220917-5.pgdg26.04+1_amd64.deb
postgresql-15-plsh1.20220917u26.x86_64pgdg27.2 KiBpostgresql-15-plsh_1.20220917-4.pgdg26.04+3_amd64.deb
postgresql-15-plsh1.20220917u26.x86_64pgdg27.1 KiBpostgresql-15-plsh_1.20220917-4.pgdg26.04+2_amd64.deb
postgresql-15-plsh1.20220917u26.aarch64pgdg26.8 KiBpostgresql-15-plsh_1.20220917-5.pgdg26.04+1_arm64.deb
postgresql-15-plsh1.20220917u26.aarch64pgdg26.7 KiBpostgresql-15-plsh_1.20220917-4.pgdg26.04+3_arm64.deb
postgresql-15-plsh1.20220917u26.aarch64pgdg26.6 KiBpostgresql-15-plsh_1.20220917-4.pgdg26.04+2_arm64.deb

Source

Install

Make sure PGDG repo available:

pig repo add pgdg -u    # add pgdg repo and update cache

Install this extension with pig:

pig install plsh;		# install by package name

pig install plsh -v 19;   # install for PG 19
pig install plsh -v 18;   # install for PG 18
pig install plsh -v 17;   # install for PG 17
pig install plsh -v 16;   # install for PG 16
pig install plsh -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION plsh;

Usage

plsh: PL/sh procedural language

plsh allows writing PostgreSQL functions as shell scripts. The function body must start with a shebang line specifying the interpreter.

CREATE EXTENSION plsh;

Create Shell Functions

CREATE FUNCTION concat(text, text) RETURNS text AS '
#!/bin/sh
echo "$1$2"
' LANGUAGE plsh;

SELECT concat('hello ', 'world');  -- 'hello world'

Argument Passing

Function arguments are passed as positional shell variables ($1, $2, etc.):

CREATE FUNCTION file_line_count(filename text) RETURNS int AS '
#!/bin/sh
wc -l < "$1"
' LANGUAGE plsh;

Return Values

  • Standard output becomes the return value (trailing newlines stripped)
  • Empty output returns NULL
  • Standard error output causes the function to abort with that error message
  • Non-zero exit status triggers an error
CREATE FUNCTION system_uptime() RETURNS text AS '
#!/bin/sh
uptime
' LANGUAGE plsh;

Database Access

Direct SPI access is not available, but psql can be used since libpq environment variables are preconfigured:

CREATE FUNCTION query_db(x int) RETURNS text AS $$
#!/bin/sh
psql -At -c "SELECT name FROM users WHERE id = $1"
$$  LANGUAGE plsh;

Trigger Functions

Trigger context is available via environment variables:

VariableDescription
PLSH_TG_NAMETrigger name
PLSH_TG_WHENBEFORE, INSTEAD OF, or AFTER
PLSH_TG_LEVELROW or STATEMENT
PLSH_TG_OPDELETE, INSERT, UPDATE, or TRUNCATE
PLSH_TG_TABLE_NAMETarget table name
PLSH_TG_TABLE_SCHEMATarget table schema

Event trigger variables: PLSH_TG_EVENT, PLSH_TG_TAG.

Inline Execution

DO E'#!/bin/sh\necho "running shell command"' LANGUAGE plsh;

Security

plsh should not be declared as TRUSTED since shell scripts have full OS-level access under the PostgreSQL user. Only superusers should create plsh functions.

Table reader