pgAdmin III commit: Fix CREATE INDEX/CONSTRAINT syntax

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix CREATE INDEX/CONSTRAINT syntax
Дата
Msg-id 201010061914.o96JEc89084146@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
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(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin website commit: Update website french translation.
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: [PATCH] Fix CREATE INDEX/CONSTRAINT syntax when tablespace and fillfactor are specified