Re: [pgAdmin III] #332: SQL for TRIGGER with WHEN clause broken - Mailing list pgadmin-hackers

From pgAdmin Trac
Subject Re: [pgAdmin III] #332: SQL for TRIGGER with WHEN clause broken
Date
Msg-id 054.0ac9ffc98646ddd6d57ff684892c74af@code.pgadmin.org
Whole thread Raw
In response to [pgAdmin III] #332: SQL for TRIGGER with WHEN clause broken  ("pgAdmin Trac" <trac@code.pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix broken SQL for trigger with WHEN clause
Next
From: Dave Page
Date:
Subject: Wrapping beta4/rc1 tomorrow