Thread: pg_passwd alternative in Postgres 8.1.5

pg_passwd alternative in Postgres 8.1.5

From
Arindam
Date:
Hi,

I work on an application which distributes postgres with itself and
automates its installation. As part of the installation script, we
carry out something similar to this:

/opt/postgres/pgsql/server/bin/pg_passwd
/opt/postgresql/pgsql/pgsql/data/passwd < /tmp/.pg_passwd_input

Obviously, this worked in 7.2.1, but now that we are upgrading it - it
does not work anymore because pg_passwd is no longer available.

What alternatives exist in 8.1.5 to carry out the same thing.

-- Arindam