pgAdmin III commit: Fix the reverse-engineered query for triggers

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix the reverse-engineered query for triggers
Дата
Msg-id 201009250629.o8P6Tbnm082536@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Fix the reverse-engineered query for triggers

The new "OF column" syntax is only available for UPDATE, and we should check
the args only if the number of args is not zero.

Set the bytea_output parameter to its old value on 9.0 right after a
connection. The tgargs column is of type bytea and bytea_output, new parameter
in 9.0, makes it quite unreadable if we don't set bytea_output to 'escape'.

Report from Christopher A Hotchkiss.

Fixed #240.

Branch
------
REL-1_12_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=eab5e96e59fecce8cb5b1d9dabf11bd7a2baf719

Modified Files
--------------
pgadmin/db/pgConn.cpp        |    8 ++++++--
pgadmin/schema/pgTrigger.cpp |   11 ++++++-----
2 files changed, 12 insertions(+), 7 deletions(-)


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Fix the reverse-engineered query for triggers
Следующее
От: "pgAdmin Trac"
Дата:
Сообщение: Re: [pgAdmin III] #240: Trigger Display Bugs in 1.12 pgAdmin