Re: Add columns to table; insert values based on row

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Add columns to table; insert values based on row
Date: 2018-11-01 20:58:12
Message-ID: alpine.LNX.2.20.1811011357380.13759@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 1 Nov 2018, Adrian Klaver wrote:

> Why? As David said that will get you an additional 82 rows with data that is
> dissociated from the existing data. You want to update the existing rows with
> the new field data for each station.

D'oh! Of course!

Thanks both,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ravi Krishna 2018-11-01 21:20:19 Re: Truncation of UNLOGGED tables upon restart.
Previous Message Adrian Klaver 2018-11-01 20:57:01 Re: Add columns to table; insert values based on row