Re: [pgadmin-support] problem with check constraints - Mailing list pgsql-general

From Julius Tuskenis
Subject Re: [pgadmin-support] problem with check constraints
Date
Msg-id 48EDB7CF.2030106@nsoft.lt
Whole thread Raw
List pgsql-general
Hello, Anton

Its ok, because conjunction (AND) has priority over disjunction (OR) so
((A and B) or (C and D)) = (A and B or C and D)

Anton Andreev rašė:
> Hi,
>
> When I create a check constraint in PgAdmin3 1.8.4 on a Postgresql
> 8.3.3: ((A and B) or (C and D))
> I get with create script: (A and B or C and D) which is wrong.
>
> Please help.
>
> Cheers,
> Anton
>
>


--
Julius Tuskenis
Programavimo skyriaus vadovas
UAB nSoft
mob. +37068233050


pgsql-general by date:

Previous
From: Artacus
Date:
Subject: psql variable quoting
Next
From: Galland Gregoire
Date:
Subject: Run postgresql engine in readonly mode?