Overriding default psql behavior | how to ignore missing fields

From: Håvard Wahl Kongsgård <haavard(dot)kongsgaard(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Overriding default psql behavior | how to ignore missing fields
Date: 2010-12-31 17:06:19
Message-ID: AANLkTikhf2BG3QzkO7bkmuAfL=rRjGDOX3StxTLMRi87@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well I created the SQL files from multiple shapefiles. Used the shp2sql (
postgis 1.5) to generate the SQL dumps.

On Fri, Dec 31, 2010 at 5:00 PM, Vick Khera <vivek(at)khera(dot)org> wrote:

> 2010/12/31 Håvard Wahl Kongsgård <haavard(dot)kongsgaard(at)gmail(dot)com>:
> > Is it possible to overriding the default psql behavior, so that the sql
> > session simply ignores any missing fields?
> >
>
> Do you still have the original database? Re-run your table exports
> without the unneeded columns using COPY, then import those outputs
> instead.
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

--
Håvard Wahl Kongsgård
Peace Research Institute Oslo (PRIO)

http://havard.security-review.net/

--
Håvard Wahl Kongsgård
Peace Research Institute Oslo (PRIO)

http://havard.security-review.net/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gordon Shannon 2010-12-31 17:31:34 Re: seg fault crashed the postmaster
Previous Message Vick Khera 2010-12-31 16:00:48 Re: Overriding default psql behavior | how to ignore missing fields