Re: Add columns to table; insert values based on row - Mailing list pgsql-general

From Rich Shepard
Subject Re: Add columns to table; insert values based on row
Date
Msg-id alpine.LNX.2.20.1811020528350.21506@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Add columns to table; insert values based on row  (Ken Tanzer <ken.tanzer@gmail.com>)
List pgsql-general
On Thu, 1 Nov 2018, Ken Tanzer wrote:

> I'm not sure what format your text file is in, but you could probably use
> \copy to bring it into a (temporary) table in Postgres. As long as it had
> your four new columns and the site_nbr, you could then update from that
> table in one swoop:

Ken,

   Thank you.

Rich


pgsql-general by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: cannot find PGXS file when installing an extension?
Next
From: Luca Ferrari
Date:
Subject: Re: cannot find PGXS file when installing an extension?