Fix CREATE INDEX/CONSTRAINT syntax
Reverse the order of TABLESPACE and WITH() clauses for indexes. Previously
pgAdminIII generated CREATE scripts like:
CREATE INDEX foo_foo_id ON foo USING btree (foo_id)
TABLESPACE bar WITH (FILLFACTOR=50);
However this is illegal PostgreSQL syntax, the WITH() clause must come before
TABLESPACE.
The statement generated by "new index" dialog is already correct.
Branch
------
REL-1_12_0_PATCHES
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=c102486cfdc5976e786526583f45208f20ec5cbb
Modified Files
--------------
pgadmin/schema/pgIndex.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)