Re: String manipulation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: String manipulation
Дата
Msg-id 200402172342.i1HNgKj24508@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: String manipulation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: String manipulation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: String manipulation
Следующее
От: Troy Campano
Дата:
Сообщение: Re: how to merge a table from another DB