test CHECK on command line - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject test CHECK on command line
Date
Msg-id 20110617061203.0ed54456@anubis.defcon1
Whole thread Raw
Responses Re: test CHECK on command line  (Josh Kupershmidt <schmiddy@gmail.com>)
List 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 by date:

Previous
From: "Oliveiros d'Azevedo Cristina"
Date:
Subject: Re: Backing Up ?
Next
From: "Jean-Yves F. Barbier"
Date:
Subject: change p/w hashing