To the best of my knowledge, this is not possible in psql.
You can edit individual queries with \e, but I don't think it's possible to edit functions.
-tfo
-- Thomas F. O'Connell Co-Founder, Information Architect Sitening, LLC http://www.sitening.com/ 110 30th Avenue North, Suite 6 Nashville, TN 37203-6320 615-260-0005
On Nov 4, 2004, at 11:11 AM, Patrick Hatcher wrote:
How can I view and edit a function in psql? I have been using PgAdmin to do this but wanted to try the command line
TIA
Patrick Hatcher
---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster