Re: How to \ef a function ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: David Gauthier <dfgpostgres(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to \ef a function ?
Date: 2024-01-08 16:47:59
Message-ID: 1940933.1704732479@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> writes:
> On 1/8/24 08:26, David Gauthier wrote:
>> dvdb=# \ef opid.bef_ins_axi_reqs_set_trig;
>> ERROR:  function "opid.bef_ins_axi_reqs_set_trig;" does not exist

> Lose the ';'.
> It should be:
> \ef opid.bef_ins_axi_reqs_set_trig

Yeah, that's what psql is expecting, but it does seem a bit
unforgiving considering that you can write a noise semicolon
in many other backslash commands. And this:

>> dvdb=# \ef opid.bef_ins_axi_reqs_set_trig();
>> ERROR:  expected a right parenthesis

seems outright buggy. I've not looked at the code though.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-01-08 17:12:42 Re: How to \ef a function ?
Previous Message Adrian Klaver 2024-01-08 16:42:02 Re: Unable to install postgresql and pgadmin