The error is :
column "admin" doesn`t exist
What the f... is that db doing?
> --- Ursprüngliche Nachricht ---
> Von: Kenneth Gonsalves <lawgon@thenilgiris.com>
> An: pgsql-sql@postgresql.org
> Betreff: Re: [SQL] psql commandline
> Datum: Wed, 31 Aug 2005 18:13:18 +0530
>
> On Wednesday 31 Aug 2005 6:00 pm, dIGITx wrote:
> > su - postgres -c 'psql --dbname database --command "UPDATE users
> > SET pin=12345 WHERE login='admin';"'
>
> works for me - what is the error you are getting?
>
> --
> regards
> kg
>
> http://www.livejournal.com/users/lawgon
> tally ho! http://avsap.org.in
> à²à²à²¡à³à²²à²¿à²¨à²à³à²¸ வாழà¯à®!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++