pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Cousin <cousinmarc@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5801: characters not encoded properly for column names
Date: Mon, 3 Jan 2011 15:04:20 +0100
Message-ID: <201101031504.21112.cousinmarc@gmail.com> (raw)
In-Reply-To: <AANLkTinHcFEEcixUi0PhU6jG+2Zm4__v8z0wgfSeTCO4@mail.gmail.com>
References: <201012231018.oBNAIfdF020454@wwwmaster.postgresql.org>
	<AANLkTi=mne95CRCW44V8CRrsO0Htjwf+GrtSUVtXZqC5@mail.gmail.com>
	<AANLkTinHcFEEcixUi0PhU6jG+2Zm4__v8z0wgfSeTCO4@mail.gmail.com>

The Tuesday 28 December 2010 12:49:20, Robert Haas wrote :
> On Tue, Dec 28, 2010 at 4:01 AM, Marc Cousin <cousinmarc@gmail.com> wrote:
> > 2010/12/27 Robert Haas <robertmhaas@gmail.com>:
> >> On Thu, Dec 23, 2010 at 5:18 AM, Marc Cousin <cousinmarc@gmail.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 ?
> 
> Hrm, OK.  Well, you just used up my one guess.  :-(

Sorry about that. Anyone else wanting to take a guess ? :)



view thread (9+ messages)

Message-ID: <201101031504.21112.cousinmarc@gmail.com>
Permalink:  ../201101031504.21112.cousinmarc@gmail.com/
Also on:    postgresql.org/message-id/201101031504.21112.cousinmarc@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: cousinmarc@gmail.com, robertmhaas@gmail.com
  Subject: Re: BUG #5801: characters not encoded properly for column names
  In-Reply-To: <201101031504.21112.cousinmarc@gmail.com>
  References: <201012231018.oBNAIfdF020454@wwwmaster.postgresql.org> <AANLkTi=mne95CRCW44V8CRrsO0Htjwf+GrtSUVtXZqC5@mail.gmail.com> <AANLkTinHcFEEcixUi0PhU6jG+2Zm4__v8z0wgfSeTCO4@mail.gmail.com> <201101031504.21112.cousinmarc@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox