pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dIGITx <digit-x@gmx.net>
To: pgsql-sql@postgresql.org
Subject: psql commandline
Date: Wed, 31 Aug 2005 14:30:22 +0200 (MEST)
Message-ID: <16188.1125491422@www18.gmx.net> (raw)
References: <2661.1125490711@www18.gmx.net>

Hi list

the following commandline query doesn`t work.....


su - postgres -c 'psql --dbname database --command "UPDATE users SET
pin=12345 WHERE login='admin';"'

Any idea why? please help...

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl



view thread (11+ messages)  latest in thread

Message-ID: <16188.1125491422@www18.gmx.net>
Permalink:  ../16188.1125491422@www18.gmx.net/
Also on:    postgresql.org/message-id/16188.1125491422@www18.gmx.net

 · 

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: digit-x@gmx.net
  Subject: Re: psql commandline
  In-Reply-To: <16188.1125491422@www18.gmx.net>

* 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