\ef should probably append semicolons

From: "Joshua Tolley" <eggyknap(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: \ef should probably append semicolons
Date: 2008-10-10 23:38:37
Message-ID: e7e0a2570810101638u3c60ad6bif90f787629217b11@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The new \ef psql command creates nicely usable "CREATE OR REPLACE
FUNCTION ..." text based on the function I tell it to edit, but the
text it creates *doesn't* include a final semicolon, so when I exit my
editor-of-choice after messing with my function, it doesn't run the
code I've given it until I type one of my own. This is annoying. See
attached for a patch to fix it.

- Josh / eggyknap

Attachment Content-Type Size
semicolon.patch text/x-patch 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-10 23:41:21 Re: libpq ssl -> clear fallback looses error messages
Previous Message Josh Berkus 2008-10-10 23:38:05 Re: Contrib, schema, and load_module