| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Proposal for detecting encoding mismatch in initdb |
| Date: | 2004-07-13 22:54:33 |
| Message-ID: | 200407140054.33519.peter_e@gmx.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> 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.
It's just an explicit list of things that spell similarly. There's not
much more we can do, but I don't see any obvious candidates were this
could lead to trouble.
> 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.)
I just won't put something like that into the list.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-07-13 22:56:08 | Re: serverlog rotation/functions |
| Previous Message | Tom Lane | 2004-07-13 22:53:56 | Re: Release planning (was: Re: Status report) |