pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Webb Sprague <wsprague100@yahoo.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Create Primary Key + Massive Copy's?
Date: Tue, 29 Aug 2000 20:52:15 -0700 (PDT)
Message-ID: <20000830035215.11462.qmail@web802.mail.yahoo.com> (raw)

This is my next approach--I got rid of all indexes and
PK's, and then created an index with unique after
everything is added.  Wish me luck.

W
--- Stephan Szabo <sszabo@megazone23.bigpanda.com>
wrote:
> 
> We don't currently support the SQL syntax for adding
> a PK to a table.  However, if you have the columns
> as NOT NULL already, adding a unique index to the
> columns in question has the same general effect.
> 
> Stephan Szabo
> sszabo@bigpanda.com
> 
> On Tue, 29 Aug 2000, Webb Sprague wrote:
> 
> > Apropos of my last question:
> > 
> > Is there syntax to create a primary key after the
> > table has been defined and populated?  I think I
> could
> > speed things up quite a bit by not having any
> indexes
> > at all when I do my mass copies.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/



Message-ID: <20000830035215.11462.qmail@web802.mail.yahoo.com>
Permalink:  ../20000830035215.11462.qmail@web802.mail.yahoo.com/
Also on:    postgresql.org/message-id/20000830035215.11462.qmail@web802.mail.yahoo.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: wsprague100@yahoo.com, sszabo@megazone23.bigpanda.com
  Subject: Re: Create Primary Key + Massive Copy's?
  In-Reply-To: <20000830035215.11462.qmail@web802.mail.yahoo.com>
  References: <20000830035215.11462.qmail@web802.mail.yahoo.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