Re: psql commandline

From: Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: psql commandline
Date: 2005-08-31 12:43:18
Message-ID: 200508311813.18420.lawgon@thenilgiris.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

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
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message digit-x 2005-08-31 12:54:57 Re: psql commandline
Previous Message dIGITx 2005-08-31 12:30:22 psql commandline

Browse pgsql-sql by date

  From Date Subject
Next Message Tino Wildenhain 2005-08-31 12:47:18 Re: How do I copy part of table from db1 to db2 (and
Previous Message dIGITx 2005-08-31 12:30:22 psql commandline