pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kyle <kyle@actarg.com>
To: pgsql-sql@postgresql.org
Subject: altering column constraints
Date: Mon, 24 Jul 2000 10:30:25 -0600
Message-ID: <397C6F21.C434805A@actarg.com> (raw)

Is it possible to alter a column check constraint without a
dump/reload?  Now that I have RI working, it is a little more tricky to
dump/reload a single table because you lose reference triggers.  So I'm
not sure how to change a column constraint without dumping/reloading the
entire database.

I looked at editing pg_relcheck directly.  I don't know if that is legal
or not, but the rcbin column worries me as I'm not sure how/when this
gets derived from the rcsrc column.  Anyone know if this is possible to
do (even if it requires some poking around)?

Attachments:

kyle.vcf (text/x-vcard, 184B) download begin:vcard n:Bateman;Kyle x-mozilla-html:FALSE org:Action Target Inc. adr:;;;;;; version:2.1 email;internet:kyle@actarg.com title:President x-mozilla-cpt:;0 fn:Kyle Bateman end:vcard

Message-ID: <397C6F21.C434805A@actarg.com>
Permalink:  ../397C6F21.C434805A@actarg.com/
Also on:    postgresql.org/message-id/397C6F21.C434805A@actarg.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: kyle@actarg.com
  Subject: Re: altering column constraints
  In-Reply-To: <397C6F21.C434805A@actarg.com>
  References: <397C6F21.C434805A@actarg.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