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-20 07:28:21
Message-ID: 054.da1601cc116adf620f2c71e12631772f@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 |
----------------------+-----------------------------------------------------

Comment(by gleu):

It doesn't fail, PostgreSQL send it to us this way. And it works. You can
copy the statement to execute it, it works.

Your new fix won't work all the time. What we can do is use the new
argument of pg_get_triggerdef that makes the definition prettier. That
could be done.

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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-08-20 07:44:39 pgAdmin III commit: Fix broken SQL for domains
Previous Message Guillaume Lelarge 2011-08-20 07:24:34 Re: www: dead link far 1.14 docs