Installed postgresql 7.4 on Redhat 9.0 but can't run pgcrypto.sql - Mailing list pgsql-general

From Greg McAvoy-Jensen
Subject Installed postgresql 7.4 on Redhat 9.0 but can't run pgcrypto.sql
Date
Msg-id 000001c3ce72$2cf25b20$3e0a0a0a@HolyTrinity.local
Whole thread Raw
List pgsql-general

I'm installing a CMS called ezpublish on my Redhat 9.0 machine. I've needed to install a php 4.4 and a newer postgresql (I also installed apache2.0.48, and the later two went into the non-redhat-standard location of /usr/local). ezpublish requires that I run pgcrypto.sql on my database gregorybooks, but I get this interaction after I su postgres:

code:


bash-2.05b$ psql -U gregory gregorybooks < /usr/share/pgsql/contrib/pgcrypto.sql

SET

SET

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c

ERROR: permission denied for language c




I actually had success with pgcrypto on the postgresql 7.3 that came with redhat 9, but I installed 7.4 to have a /usr/local/pgsql main directory to point php to and now have this error. What have I done differently? I tried to fix it by making postgres owner of all the pgsql directories. What needs to be fixed? Thank you.

Greg

pgsql-general by date:

Previous
From: Russ Schneider
Date:
Subject: Re: several messages
Next
From: Andy Czerwonka
Date:
Subject: SuSE 9.0