Re: pgsql: Add 'noError' argument to encoding conversion functions.

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add 'noError' argument to encoding conversion functions.
Date: 2021-04-02 23:53:37
Message-ID: 20210402235337.GA4082@ahch-to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Apr 01, 2021 at 09:25:00AM +0000, Heikki Linnakangas wrote:
>
> Add regression tests for built-in encoding conversions. This doesn't cover
> every conversion, but it covers all the internal functions in conv.c that
> are used to implement the conversions.
>

sqlsmith thinks that test_enc_conversion() must be marked as STRICT. It
crashes with something like this:

```
SELECT test_enc_conversion('\xe4dede'::bytea,
null::name,
pg_catalog.getdatabaseencoding(),
false
);
```

--
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-04-03 02:53:27 Re: pgsql: Add 'noError' argument to encoding conversion functions.
Previous Message David Rowley 2021-04-02 21:43:43 Re: pgsql: Add Result Cache executor node (take 2)