pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Gonsalves <lawgon@thenilgiris.com>
To: pgsql-sql@postgresql.org
Subject: Re: psql commandline
Date: Wed, 31 Aug 2005 18:59:59 +0530
Message-ID: <200508311859.59164.lawgon@thenilgiris.com> (raw)
In-Reply-To: <df4alh$19dk$1@news.hub.org>
References: <200508311813.18420.lawgon@thenilgiris.com>
	<11603.1125492897@www18.gmx.net>
	<df4alh$19dk$1@news.hub.org>

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


view thread (11+ messages)  latest in thread

Message-ID: <200508311859.59164.lawgon@thenilgiris.com>
Permalink:  ../200508311859.59164.lawgon@thenilgiris.com/
Also on:    postgresql.org/message-id/200508311859.59164.lawgon@thenilgiris.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lawgon@thenilgiris.com
  Subject: Re: psql commandline
  In-Reply-To: <200508311859.59164.lawgon@thenilgiris.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox