Re: String manipulation - Mailing list pgsql-general

From Bruce Momjian
Subject Re: String manipulation
Date
Msg-id 200402172342.i1HNgKj24508@candle.pha.pa.us
Whole thread Raw
In response to Re: String manipulation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: String manipulation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
\Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I just noticed an unusual affect.  GUC regex_flavor affects CHECK
> > constraints even after the check constraint has been created:
>
> Why does that surprise you?

I don't think it is good practice for a CHECK constraint to change its
behavior based on a GUC variable.  I am not surprised, but am pointing
out it isn't ideal.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: String manipulation
Next
From: Troy Campano
Date:
Subject: Re: how to merge a table from another DB