pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kristoff Bonne <kristoff.bonne@skypro.be>
To: pgsql-sql@postgresql.org
Subject: Re: Changing PL/pgSQL triggers
Date: Fri, 22 Jun 2001 09:22:44 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net> (raw)
In-Reply-To: <web-75462@davinci.ethosmedia.com>

Greetings,

On Thu, 21 Jun 2001, Josh Berkus wrote:
>> What's the easiest way to modify or view a function written in
>> PL/pgSQL?  I've been using pg_dump to get the original function, then
>> dropping and creating the function and trigger after making a change.
>> Is there an easier way?

> Well, if you're on Win32 or on Linux, you can install PGAccess (link
> from postgresql.org).  PGAccess has an OK function editor, although it
> doesn't support cut-and-paste on Xwindows and I've found a few bugs with
> large and complex functions.

One if the 'features' missing in PGAccess (at least, on the version found
in the 'ports-tree' of FreeBSD 4.1) is a simple 'save-without-quit'
function.
When you're editing a function; and you do save, the windows closes.

So, you do some debugging, you find a bug; and you need to re-open the
function.
Usually (on my workstation), the windows pops up at the wrong place of the
screen; and I usually need to do some 'resizing' to get the window in the
shape I like.

Cheerio! Kr. Bonne
-- 
KB905-RIPE                                       Belgacom  IP networking
(c=be,a=rtt,p=belgacomgroup,s=Bonne,g=Kristoff)  Internet, IP and IP/VPN
kristoff.bonne@skypro.be                         Faxbox :  +32 2 2435122





view thread (5+ messages)

Message-ID: <Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net>
Permalink:  ../Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net/
Also on:    postgresql.org/message-id/Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kristoff.bonne@skypro.be
  Subject: Re: Changing PL/pgSQL triggers
  In-Reply-To: <Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net>
  References: <web-75462@davinci.ethosmedia.com> <Pine.LNX.4.30.0106220918040.18636-100000@frigg.belbone.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox