Re: [SQL] Help on update that subselects other records in table, uses joins

2003-11-03 Thread Jeff Kowalczyk
Josh Berkus wrote: > You may only UPDATE one table at a time, you can't update a JOIN. So when > selecting from another table to filter or calculate your update, the form is: > UPDATE orderchanges > SET orderchargesbilled = {expression} > FROM orders > WHERE orders.orderid = ordercharges.orderid

[SQL] 'invalid' value in timestamp with timezone.

2003-11-03 Thread Stef
Hi all, I've noticed for the first time in some 7.1.2 databases that I use, that somebody/something managed to insert a literal alpha value of 'invalid' into 'timestamp with timezone' columns. I tested it myself, and it worked : test712=# create table bob (field timestamp); CREATE test712=# \d bo

[SQL] pg_dump error - Permission denied

2003-11-03 Thread Kumar
Dear friends,   I am working with Postgres 7.3.4 on RH Linux 7.3.   I could manage to take a backup using the following command and as the user 'postgres'.  $ pg_dump -h 192.168.2.51 -v -u -f /home/db_repository/test20031103.sql test   But while I try to execute the same command with the user