Re: Typo in PL/pgSQL trigger Example 43.4? - Mailing list pgsql-docs

From Tom Lane
Subject Re: Typo in PL/pgSQL trigger Example 43.4?
Date
Msg-id 133678.1696859146@sss.pgh.pa.us
Whole thread Raw
In response to Re: Typo in PL/pgSQL trigger Example 43.4?  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-docs
Daniel Gustafsson <daniel@yesql.se> writes:
>> On 7 Oct 2023, at 22:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yeah, either way has the same result.  However, I wonder if we should
>> change this example to use current_user for clarity.  It does look
>> more like it's intended to be a variable or column reference than
>> a built-in function.

> Agreed, and "user" is a hard search term to use for discovering what it is.  +1
> for changing to current_user.

OK, I'll take care of this later today.

            regards, tom lane



pgsql-docs by date:

Previous
From: Tim Needham
Date:
Subject: Re: Example numeric constants aren't valid?
Next
From: Brad White
Date:
Subject: Re: ODBC options