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

psql commandline

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

In response to

Responses

pgsql-novice by date

Next:From: Kenneth GonsalvesDate: 2005-08-31 12:43:18
Subject: Re: psql commandline
Previous:From: dIGITxDate: 2005-08-31 12:18:31
Subject: psql commandline

pgsql-sql by date

Next:From: Kenneth GonsalvesDate: 2005-08-31 12:43:18
Subject: Re: psql commandline
Previous:From: dIGITxDate: 2005-08-31 12:18:31
Subject: psql commandline

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