Skip site navigation (1) Skip section navigation (2)

psql commandline

From: "dIGITx" <digit-x(at)gmx(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: psql commandline
Date: 2005-08-31 12:18:31
Message-ID: 2661.1125490711@www18.gmx.net (view raw or flat)
Thread:
Lists: pgsql-novicepgsql-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';"'

-- 
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

In response to

Responses

pgsql-novice by date

Next:From: dIGITxDate: 2005-08-31 12:30:22
Subject: psql commandline
Previous:From: digit-xDate: 2005-08-31 12:14:06
Subject: psql commandline

pgsql-sql by date

Next:From: dIGITxDate: 2005-08-31 12:30:22
Subject: psql commandline
Previous:From: Thomas PundtDate: 2005-08-31 12:14:26
Subject: Re: [SQL] How do I copy part of table from db1 to db2 (and

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group