test CHECK on command line

Поиск
Список
Период
Сортировка
От Jean-Yves F. Barbier
Тема test CHECK on command line
Дата
Msg-id 20110617061203.0ed54456@anubis.defcon1
обсуждение исходный текст
Ответы Re: test CHECK on command line
Список pgsql-novice
Hi list,

I'm trying to test CHECK constraints on command line but I miss something:

SELECT '1234567890123' ~ 'CHECK(char_length(VALUE) = 13)';

always return FALSE :(

JY
--
    "What did you do when the ship sank?"
    "I grabbed a cake of soap and washed myself ashore."

В списке pgsql-novice по дате отправления: