command-line function editor

From: "Selena Deckelmann" <selenamarie(at)gmail(dot)com>
To: "Postgresql PDX_Users" <pdxpug(at)postgresql(dot)org>
Subject: command-line function editor
Date: 2007-10-08 16:29:18
Message-ID: 2b5e566d0710080929s71fdbe93ybb13dcce54a345d5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pdxpug

Does anyone know of an easy way to edit a function from the
command-line? I run into this all the time - I'm tweaking a PL/PgSQL
function and then running a query right after that to test it. I
realize that I could just pipe a file containing the function and the
query into psql, but on some systems it is nicer to just do this on
the command line.

Someone is going to tell me that it is a \e variant and I'm going to
feel real dumb.

-selena

--
Selena Deckelmann
PDXPUG - Portland PostgreSQL Users Group
http://pugs.postgresql.org/pdx
http://www.postgresqlconference.org

Browse pdxpug by date

  From Date Subject
Next Message Selena Deckelmann 2007-10-08 19:37:57 PostgreSQL 8.3beta out!
Previous Message Selena Deckelmann 2007-10-07 18:17:21 Fwd: [pgsql-advocacy] pre-beta performance tests