Re: Emit extra debug message when executing extension script.

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Emit extra debug message when executing extension script.
Date: 2022-07-01 22:33:33
Message-ID: 20220701223333.GD624998@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-07-01 22:40:24 Re: Reply: Remove useless param for create_groupingsets_path
Previous Message Jeff Davis 2022-07-01 22:24:27 Re: Emit extra debug message when executing extension script.