is <command>createlang</command> failing with unusual errors.
is <command>createlang</command> failing with unusual errors.
For example, running as the owner of the PostgreSQL installation:
For example, running as the owner of the PostgreSQL installation:
<screen>
<screen>
-bash-3.00$ createlang plpgsql template1
-bash-3.00$ createlang plperl template1
createlang: language installation failed: ERROR: could not load library "/opt/dbs/pgsql748/lib/plpgsql.so": A memory address is not in the address space for the process.
createlang: language installation failed: ERROR: could not load library "/opt/dbs/pgsql748/lib/plperl.so": A memory address is not in the address space for the process.
</screen>
</screen>
Running as a non-owner in the group posessing the PostgreSQL
Running as a non-owner in the group posessing the PostgreSQL
installation:
installation:
<screen>
<screen>
-bash-3.00$ createlang plpgsql template1
-bash-3.00$ createlang plperl template1
createlang: language installation failed: ERROR: could not load library "/opt/dbs/pgsql748/lib/plpgsql.so": Bad address
createlang: language installation failed: ERROR: could not load library "/opt/dbs/pgsql748/lib/plperl.so": Bad address
</screen>
</screen>
Another example is out of memory errors in the PostgreSQL server
Another example is out of memory errors in the PostgreSQL server
logs, with every memory allocation near or greater than 256 MB
logs, with every memory allocation near or greater than 256 MB