Received: from frigg.belbone.net (Bilan-NAT.dna.belgacom.be [194.78.56.28]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5M7Mwa05476 for ; Fri, 22 Jun 2001 03:23:01 -0400 (EDT) (envelope-from kristoff.bonne@skypro.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by frigg.belbone.net (Postfix) with ESMTP id 95C572C332 for ; Fri, 22 Jun 2001 09:22:44 +0200 (CEST) Date: Fri, 22 Jun 2001 09:22:44 +0200 (CEST) From: Kristoff Bonne X-Sender: To: Subject: Re: Changing PL/pgSQL triggers In-Reply-To: Message-ID: Organization: Belgacom Multimedia - Internet backbone MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200106/347 X-Sequence-Number: 3634 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