Oliver Elphick wrote:
> 
> w trillich wrote:
>   >that's somewhere else entirely! eureka!
>   >
>   >     > ls -F1 /usr/lib/postgresql/bin
>   >     cleardbdir*
>   >     createlang*
>   >     destroylang*
>   >     do.maintenance*
>   >     initdb*
>   >     initlocation*
>   >     ipcclean*
>   >     pg_dumpall*
>   >     pg_encoding*
>   >     pg_id*
>   >     pg_passwd*
>   >     pg_upgrade*
>   >     pg_version*
>   >     postgres*
>   >     postgresql-dump*
>   >     postgresql-startup*
>   >     postmaster@
>   >     save_db_schema*
>   >     vacuumdb*
>   >
>   >see? there's no createdb, no psql, no destroyuser...
> 
> Aha; have you installed postgresql-client?  I split the package, 
> because it is possible to have the front-end on a different machine 
> from the backend. However, postgresql ought to depend on 
> postgresql-client.

that sure looks promising...

dang. i thought you had it for a minute.

# apt-get install postgresql-client
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, postgresql-client is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

(that "1 not upgraded" is enlightenment, which is mucho coolio,
but i'm not going for xwindows, i'm going for web server and
dbms... maybe on my next machine when i'm wealthy and infamous...)

> It looks as though I have missed some dependencies somewhere.

maybe 'suggests' as opposed to 'depends'? or, have only the
pgsql-client pak install the psql/createdb/etc links?

hmmm... thinking... yes, your dbms administrator will probably
need to frob, tweak and munge on occasion, so psql (and friends)
would most likely be standard toolbox for server machines; but
for client machines they'd not need the server engine, so you're
probably right--server depends on client, tho it seems odd at
first glance.

(p.s. where can i get psql and createdb and so forth?)

Reply via email to