| From: | Vivek Khera <khera(at)kcilink(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Modifying check constraints |
| Date: | 2001-11-15 16:04:09 |
| Message-ID: | 15347.59257.484994.256311@yertle.kciLink.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
>>>>> "SS" == Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> writes:
SS> If you can have downtime, you might just want to look at making the
SS> new table and using insert into to copy the data and rename the tables
SS> around. This is kinda unhappy with foreign keys and more complicated
SS> constructs, but in general is less likely to cause you grief.
Unfortunately, I have plenty of foreign keys and *TONS* of data in
that table, and downtime is undesirable, but possible.
I'm gonna try the constraint surgery, as it seems to work.
Thanks.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-11-15 16:17:22 | Re: Bug? |
| Previous Message | Stephan Szabo | 2001-11-15 15:54:51 | Re: Bug? |