Re: [pgAdmin III] #332: SQL for TRIGGER with WHEN clause broken

From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgAdmin III] #332: SQL for TRIGGER with WHEN clause broken
Date: 2011-08-16 17:13:41
Message-ID: 054.0ac9ffc98646ddd6d57ff684892c74af@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

#332: SQL for TRIGGER with WHEN clause broken
----------------------+-----------------------------------------------------
Reporter: brsa | Owner: gleu
Type: bug | Status: closed
Priority: minor | Milestone: 1.14
Component: pgadmin | Version: trunk
Resolution: fixed | Keywords: browser trigger
Platform: all |
----------------------+-----------------------------------------------------
Changes (by gleu):

* status: accepted => closed
* keywords: SQL pane => browser trigger
* resolution: => fixed
* milestone: => 1.14

Comment:

Your patch wasn't enough. We need to strip the first and last brackets,
but the previous code did strip too much.

See
http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=ba8d4935060774d1340a42870b3140a99886dc85
and
http://git.postgresql.org/gitweb/?p=pgadmin3.git;a=commit;h=4f4a24588973132989c129db3ddd14d48adeab23.

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/332#comment:3>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-08-17 12:46:29 Wrapping beta4/rc1 tomorrow
Previous Message Guillaume Lelarge 2011-08-16 17:11:58 pgAdmin III commit: Fix broken SQL for trigger with WHEN clause