Re: Regression test : pg_conversion validation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: neha khatri <nehakhatri5(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Regression test : pg_conversion validation
Date: 2017-02-13 07:27:11
Message-ID: 10959.1486970831@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

neha khatri <nehakhatri5(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message neha khatri 2017-02-13 12:41:45 Re: Regression test : pg_conversion validation
Previous Message neha khatri 2017-02-13 04:59:34 Regression test : pg_conversion validation