Skip site navigation (1) Skip section navigation (2)

Ticket 256: add INSTEAD OF support for triggers

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Ticket 256: add INSTEAD OF support for triggers
Date: 2010-10-23 14:00:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

It was much easier than I previously thought. This patch adds a Triggers
node in the each view object node if you're connected to a 9.1
PostgreSQL server. You can add and see triggers on views.

It's not ready to be commited. I still have a bug to fix. I tried since
two days, and I can't make it work. My issue is with the Triggers node.
I should have the "Create a new object..." button enabled in the toolbar
and a "New trigger" (or whatever it's labelled) item in the contextual
menu. But I don't have them. I really don't understand why. View objects
seem to be treated differently than others but, despite many tests, I
can't make it work.

You can still test the patch because you have the capacity to create a
trigger on a view with a contextual menu available on the view object node.

If someone has a pointer to help me fix this patch, I would really
appreciate it.


Attachment: 0001-New-kind-of-trigger-INSTEAD-OF.patch
Description: text/x-diff (0 bytes)


pgadmin-hackers by date

Next:From: Dave PageDate: 2010-10-23 21:03:45
Subject: Re: Ticket 256: add INSTEAD OF support for triggers
Previous:From: pgAdmin TracDate: 2010-10-23 10:11:01
Subject: [pgAdmin III] #266: Unable to backup table when quotation marks used in the name

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group