psql commandline

From: digit-x(at)gmx(dot)net
To: pgsql-novice(at)postgresql(dot)org
Subject: psql commandline
Date: 2005-08-31 12:14:06
Message-ID: 18268.1125490446@www18.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

Hi list

the following commandline query doesn`t work.....
why? please help

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

--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse fr Mail, Message, More +++

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message dIGITx 2005-08-31 12:18:31 psql commandline
Previous Message operationsengineer1 2005-08-31 06:29:32 PGSQL, Fedora core 3 and a PII 400 MHz Box

Browse pgsql-sql by date

  From Date Subject
Next Message Thomas Pundt 2005-08-31 12:14:26 Re: [SQL] How do I copy part of table from db1 to db2 (and
Previous Message Thomas Pundt 2005-08-31 12:09:15 Re: [SQL] How do I copy part of table from db1 to db2 (and