wrong sql code for fk covering index - Mailing list pgadmin-hackers

From Timon
Subject wrong sql code for fk covering index
Date
Msg-id BANLkTinG7Xe9vctRy6ZJfPSWt_bfMY8H0g@mail.gmail.com
Whole thread Raw
Responses Re: wrong sql code for fk covering index  (Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com>)
List pgadmin-hackers
When trying to create covering index for existing fk constrain by
checking checkbox in dialog, pgadmin 1.14 (latest git) generates wrong
code for postgresql 9.0.

ALTER TABLE hotels VALIDATE CONSTRAINT hotels_city_id_fkey;
CREATE INDEX fki_hotels_cityid ON hotels(city_id);

postgresql 9.0 doesn't know about VALIDATE keyword.
--
All bugs reserved

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: Only enable the fill factor text box when
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: make style