From: Jaime Casanova <jcasanov@systemguards.com.ec>
To: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add 'noError' argument to encoding conversion functions.
Date: Fri, 2 Apr 2021 18:53:37 -0500
Message-ID: <20210402235337.GA4082@ahch-to> (raw)
In-Reply-To: <E1lRtZU-0000J1-WB@gemulon.postgresql.org>
References: <E1lRtZU-0000J1-WB@gemulon.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: jcasanov@systemguards.com.ec, heikki.linnakangas@iki.fi
Subject: Re: pgsql: Add 'noError' argument to encoding conversion functions.
In-Reply-To: <20210402235337.GA4082@ahch-to>
References: <E1lRtZU-0000J1-WB@gemulon.postgresql.org> <20210402235337.GA4082@ahch-to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox