If operator statements - Mailing list pgsql-bugs

From Elyor Latipov
Subject If operator statements
Date
Msg-id DUB122-W17C35B35436B45184B4A1FB1A60@phx.gbl
Whole thread Raw
Responses Re: If operator statements
List pgsql-bugs
Don't work this statement:

IF NOT EXISTS (select TRUE from information_schema.constraint_column_usage =
where constraint_name=3D'projects_pkey')=20
THEN
    ALTER TABLE projects ADD CONSTRAINT projects_pkey PRIMARY KEY(id)=3B
END IF=3B =20


__________________
Best regards=2C
Elyor.
                           =

pgsql-bugs by date:

Previous
From: rahuljadhav119@gmail.com
Date:
Subject: BUG #8929: Drupal Website not working on Postgres 9.2
Next
From: deadhead
Date:
Subject: Re: BUG #8869: ip4r93-1.05-3.rhel6 syntax error in ip4r.sql - LANGUAGE 'C' instead of LANGUAGE 'c'