Re: [NOVICE] Regression test : pg_conversion validation - Mailing list pgsql-novice

From Tom Lane
Subject Re: [NOVICE] Regression test : pg_conversion validation
Date
Msg-id 10959.1486970831@sss.pgh.pa.us
Whole thread Raw
In response to [NOVICE] Regression test : pg_conversion validation  (neha khatri <nehakhatri5@gmail.com>)
Responses Re: [NOVICE] Regression test : pg_conversion validation
List pgsql-novice
neha khatri <nehakhatri5@gmail.com> writes:
> It looks like this validation might not reflect the correct behaviour for a
> well defined conproc for certain encodings.
> e.g. Consider LATIN1 as src_encoding and EBCDIC as dst_encoding in the
> above query.

Um ... well, that's already a bridge too far.  Postgres does not support
any encodings that aren't ASCII supersets, and the possibility that we
would do so in future isn't measurably different from zero.  There's too
much code that depends on that assumption, and too little benefit to
getting rid of it.

If you can show a problem case that doesn't involve EBCDIC, then I'm
all ears.

            regards, tom lane


pgsql-novice by date:

Previous
From: neha khatri
Date:
Subject: [NOVICE] Regression test : pg_conversion validation
Next
From: neha khatri
Date:
Subject: Re: [NOVICE] Regression test : pg_conversion validation