Re: Emit extra debug message when executing extension script. - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Emit extra debug message when executing extension script.
Date
Msg-id 20220701223333.GD624998@nathanxps13
Whole thread Raw
In response to Re: Emit extra debug message when executing extension script.  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Emit extra debug message when executing extension script.
List pgsql-hackers
On Fri, Jul 01, 2022 at 03:24:27PM -0700, Jeff Davis wrote:
> +        ereport(DEBUG1, errmsg("executing extension update script from version '%s' to '%s'", from_version,
version));

nitpick: I would suggest "executing extension script for update from
version X to Y."

I personally would rather this output the name of the file.  If revealing
the directory is a concern, perhaps we could just trim everything but the
file name.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Emit extra debug message when executing extension script.
Next
From: Tom Lane
Date:
Subject: Re: Reply: Remove useless param for create_groupingsets_path