Обсуждение: Re: [pgadmin-support] problem with check constraints

Поиск
Список
Период
Сортировка

Re: [pgadmin-support] problem with check constraints

От
Julius Tuskenis
Дата:
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