| From: | Marc Cousin <cousinmarc(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #5801: characters not encoded properly for column names |
| Date: | 2010-12-28 09:01:01 |
| Message-ID: | AANLkTi=mne95CRCW44V8CRrsO0Htjwf+GrtSUVtXZqC5@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
2010/12/27 Robert Haas <robertmhaas(at)gmail(dot)com>:
> On Thu, Dec 23, 2010 at 5:18 AM, Marc Cousin <cousinmarc(at)gmail(dot)com> wrote:
>> With the Windows server :
>> test=# SET client_encoding TO 'win1252';
>> SET
>
> I have a vague recollection that the argument to SET client_encoding
> isn't validated on Windows, and if you enter a value that it doesn't
> like it simply silently doesn't work. Am I wrong? What happens if
> you do:
>
> SET client_encoding TO
> 'some_really_long_string_that_is_almost_certainly_not_a_valid_encoding';
Here it is…
postgres=# SET client_encoding TO 'foo';
ERROR: invalid value for parameter "client_encoding": "foo"
(It does the same with your really long string by the way :) )
Seems validated to me ?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-12-28 11:49:20 | Re: BUG #5801: characters not encoded properly for column names |
| Previous Message | John R Pierce | 2010-12-28 07:37:28 | Re: insert statement going into infinite loop |