From: | Dan Langille <dan(at)langille(dot)org> |
---|---|
To: | Josh Berkus <josh(at)agliodbs(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: UPDATE one table with values from another |
Date: | 2003-10-09 03:41:31 |
Message-ID: | 20031008233756.O93934@xeon.unixathome.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Wed, 8 Oct 2003, Josh Berkus wrote:
> Dan,
>
> > UPDATE commit_log_ports_elements X
> > SET X.needs_refresh = CLP.needs_refresh,
> > X.port_version = CLP.port_version,
> > X.port_revision = CLP.port_revision
>
> FROM commit_log_ports CLP
> WHERE X.commit_log_id = CLP.commit_log_id
Thanks Josh. After a 5 hour drive to Hamilton, my brain was only capable
of doing the email.
> You can always ask this kind of thing on IRC .....
If I'd been at home, I would have. This laptop of mine is getting pretty
old. It took pretty close to 15 minutes for it to set a field to zero in
91,295 rows.... I need more ram and a faster laptop!
cheers
From | Date | Subject | |
---|---|---|---|
Next Message | Danny Tramnitzke | 2003-10-09 07:55:25 | [postgres] Copy Timestamp NULL |
Previous Message | Stephan Szabo | 2003-10-09 00:12:00 | Re: UPDATE one table with values from another |