Re: psql commandline - Mailing list pgsql-sql

From Kenneth Gonsalves
Subject Re: psql commandline
Date
Msg-id 200508311859.59164.lawgon@thenilgiris.com
Whole thread Raw
In response to Re: psql commandline  (Zac <zaccheob@inwind.it>)
List pgsql-sql
On Wednesday 31 Aug 2005 6:49 pm, Zac wrote:
> su - postgres -c "psql --dbname database --command \"UPDATE users
> SET pin=12345 WHERE login='admin';\""

works - good thing to know

--
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

pgsql-sql by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: How do I copy part of table from db1 to db2 (and rename the columns)?
Next
From: Kenneth Gonsalves
Date:
Subject: Re: psql commandline