Re: PL/R regression on windows, but not linux with master.

Dave Cramer <davecramer@gmail.com>

From: Dave Cramer <davecramer@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-04-11T00:38:17Z
Lists: pgsql-hackers
On Sat, 10 Apr 2021 at 20:34, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Dave Cramer <davecramer@gmail.com> writes:
> > On Sat, 10 Apr 2021 at 20:24, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> That's quite bizarre.  What is the actual error level according to
> >> the source code, and where is the error being thrown exactly?
>
> > Well it really is an ERROR, and is being downgraded on windows to
> WARNING.
>
> That seems quite awful.
>
> However, now that I think about it, the elog.h error-level constants
> were renumbered not so long ago.  Maybe you've failed to recompile
> everything for v14?
>

We see this on a CI with a fresh pull from master.

As I said I will dig into it and figure it out.

Cheers,

Dave

>
>                         regards, tom lane
>

Commits

  1. Add macro PGWARNING, and make PGERROR available on all platforms.