Re: Proposal for detecting encoding mismatch in initdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal for detecting encoding mismatch in initdb
Date
Msg-id 19289.1089756954@sss.pgh.pa.us
Whole thread Raw
In response to Proposal for detecting encoding mismatch in initdb  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Proposal for detecting encoding mismatch in initdb  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


pgsql-hackers by date:

Previous
From: Jonathan Gardner
Date:
Subject: Re: Release planning (was: Re: Status report)
Next
From: Simon Riggs
Date:
Subject: Re: Point in Time Recovery