Re: [PATCH] "\ef <function>" in psql

From: Abhijit Menon-Sen <ams(at)oryx(dot)com>
To: Gavin Sherry <swm(at)alcove(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] "\ef <function>" in psql
Date: 2008-07-17 18:47:21
Message-ID: 20080717184721.GA11639@toroid.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 2008-07-15 20:28:39 +0530, ams(at)oryx(dot)com wrote:
>
> > I doubt we'd consider accepting a patch done this way.
>
> Yes, it's much too ugly to live.

Though I must say it would have been even MORE horrible to copy all this
code into the backend to make pg_get_functiondef(), notwithstanding the
extra utility of a generally-callable function.

But what I'm wondering, since Gavin said he once had a working version
of this patch (i.e. \ef) which he somehow lost, is how he approached the
problem at the time.

Gavin? Do you remember? Was it horrible?

-- ams

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Douglas McNaught 2008-07-17 19:21:43 Re: [HACKERS] postmaster.pid not visible
Previous Message Tom Lane 2008-07-17 18:43:15 Re: [HACKERS] postmaster.pid not visible