Re: Proposal for detecting encoding mismatch in initdb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal for detecting encoding mismatch in initdb
Date: 2004-07-13 22:15:54
Message-ID: 19289.1089756954@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> I've worked out a scheme that should adequately detect encoding
> mismatches in initdb. Please comment on the following behavior.

The behavioral description sounds fine, but I was eagerly awaiting your
description of exactly how you'd test for compatibility or search for
a compatible encoding ... without that algorithm the whole thing's moot.

BTW, what happens if there is more than one apparently-matching
encoding? (It might be best to error out in this case, on the theory
that we evidently don't have a correct matching.)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-07-13 22:25:34 Re: Point in Time Recovery
Previous Message Jonathan Gardner 2004-07-13 22:08:35 Re: Release planning (was: Re: Status report)