From: | "jasiek" <jasiek(at)lamer(dot)pl> |
---|---|
To: | Hugh Esco <hesco(at)greens(dot)org>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problems invoking psql. Help please. |
Date: | 2002-11-20 00:30:12 |
Message-ID: | 20021120083012.M85101@lamer.pl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
> Here are the results from reversing the arguments.
>
> >hesco(at)biko:~$ su postgres
> >Password:
> >postgres(at)biko:/home/hesco$ cd
> >postgres(at)biko:~$ cd /usr/bin
> >postgres(at)biko:/usr/bin$ psql tempate1 -U postgres
> >Could not execv /usr/lib/postgresql/bin/psql
> >postgres(at)biko:/usr/bin$ psql template1 -U postgres
> >Could not execv /usr/lib/postgresql/bin/psql
> >postgres(at)biko:/usr/bin$
Check the permissions. Psql is only a symbolic link to pg_wrapper. You should
have:
ls -al /usr/bin/pg_wrapper
-rwxr-xr-x 1 root root 6584 sie 25 23:55 /usr/bin/pg_wrapper
> If I compile from source, will the apt-get database know what I've
> done? Or will I have to do the updates from source as well?
No. If you want to create package .deb from your sources, look at debian
packages source site. There is special debian patch in postgres directory.
Apply it, compile your sources and create .deb package. The last step is to
install this package with dpkg.
Regards, Tomasz Myrta
From | Date | Subject | |
---|---|---|---|
Next Message | Tomasz Myrta | 2002-11-20 00:47:42 | Re: Problems invoking psql. Help please. |
Previous Message | Michiel Lange | 2002-11-20 00:16:12 | trying to learn plpqsql... so please forgive.. |