pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Casey T. Deccio <ctdecci@sandia.gov>
Cc: pgsql-sql@postgresql.org
Subject: Re: Building a database from a flat file
Date: Thu, 03 Mar 2005 21:21:49 +0100
Message-ID: <422771DD.9040409@logix-tt.com> (raw)
In-Reply-To: <1109874557.12428.90.camel@boomerang.ran.sandia.gov>
References: <1109808921.12430.75.camel@boomerang.ran.sandia.gov>
	<8014dca0db521733863bb7967ce4be95@mail.nih.gov>
	<1109874557.12428.90.camel@boomerang.ran.sandia.gov>

Hi, Casey,

Casey T. Deccio schrieb:

> Building everything in the separate "build" schema works great, but it
> is the DELETE (TRUNCATE won't work when foreign keys point to the table)

Just as an additional info: You could temporarily drop the foreing key
constraints, run TRUNCATE, and recreate the constraints.

Markus

-- 
Markus Schaber | Dipl. Informatiker | Software Development GIS

Fight against software patents in EU! http://ffii.org/
                                      http://nosoftwarepatents.org/



view thread (11+ messages)  latest in thread

Message-ID: <422771DD.9040409@logix-tt.com>
Permalink:  ../422771DD.9040409@logix-tt.com/
Also on:    postgresql.org/message-id/422771DD.9040409@logix-tt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: schabi@logix-tt.com, ctdecci@sandia.gov
  Subject: Re: Building a database from a flat file
  In-Reply-To: <422771DD.9040409@logix-tt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox