psql commandline - Mailing list pgsql-novice

From dIGITx
Subject psql commandline
Date
Msg-id 2661.1125490711@www18.gmx.net
Whole thread Raw
List pgsql-novice
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

pgsql-novice by date:

Previous
From:
Date:
Subject: PGSQL, Fedora core 3 and a PII 400 MHz Box
Next
From: digit-x@gmx.net
Date:
Subject: psql commandline