Re: The " \! " and " \l " commands - Mailing list pgsql-hackers

From Tom Lane
Subject Re: The " \! " and " \l " commands
Date
Msg-id 13450.1012603013@sss.pgh.pa.us
Whole thread Raw
In response to Re: The " \! " and " \l " commands  (Oliver Elphick <olly@lfix.co.uk>)
List pgsql-hackers
Oliver Elphick <olly@lfix.co.uk> writes:
> Perhaps instead you should look into IP-tunnelling into the PostgreSQL
> server through ssh.  I think your aim should be not to run psql on the
> server at all.

I agree.  psql is meant to be run by the user, ie with end-user
permissions.  Trying to force it to be secure is swimming against
the tide.  Run it on the client side with the client's permissions,
or don't use it at all (there are plenty of alternatives...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Array slice subscripts (was Re: [SQL] plpgsql function with more than one array argument)
Next
From: Tom Lane
Date:
Subject: Re: Array aggregation. Was: PostgreSQL Final Release ... Monday?