pgAdmin III - bug with reverse engineered SQL with function indexes

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема pgAdmin III - bug with reverse engineered SQL with function indexes
Дата
Msg-id 002301c35757$91a1fef0$1664a8c0@DEMOLITION
обсуждение исходный текст
Ответы Re: pgAdmin III - bug with reverse engineered SQL  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgadmin-support
pgAdmin III July 16th Build
PostgreSQL 7.3.3
 
The reverse engineered SQL for indexes that use a function do not work.
For example I create an index with the following command:
CREATE UNIQUE INDEX tbl_security_fullname_key
  ON tbl_security
  USING btree (get_securityname_4idx(s_umbname, s_name, s_classname, id));
pgAdmin III produces:
CREATE UNIQUE INDEX tbl_security_fullname_key
  ON public.tbl_security
  USING btree (public.get_securityname_4idx(s_umbname::citext, s_name::citext, s_classname::citext, id::int4) citext_ops);
The problem exists with the appended data type on the column names as the parameters of the function.
If I try to execute pgAdmin's version I get the following error message:
ERROR:  parser: parse error at or near "::" at character 220.
 
 
Regards
Donald Fraser

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

Предыдущее
От: "Luigi Lumento"
Дата:
Сообщение: Re: Problem with plpython editing
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: pgAdmin III - bug with reverse engineered SQL