Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 0C454F6332A; Thu, 19 Jul 2012 06:33:22 -0300 (ADT) Received: from mail-lb0-f174.google.com ([209.85.217.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Srn6l-0002RR-7U; Thu, 19 Jul 2012 09:33:21 +0000 Received: by lbbgm6 with SMTP id gm6so3336269lbb.19 for ; Thu, 19 Jul 2012 02:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Vz2nV6uIOv0fJJ704yimteiqRAp43btVqPRaCh3AYDk=; b=CMViYkr+XKAzhb8GaMqiVoSq1VoojfkOScB5DTf50tCb0bmYr7oNXjJXuj1P7OgtBD kEO4wWIrBlX9TeEzfrJuPkjbCGFmUjh+Pfi+mLxPKNeZT58NC6bSGs2wu6Fs0y+/SOaH W97V5Wsjl9ozv8oEOsAtV04bI87OFa0aa6Ohi8gl9PH1MqyHuILomC8OV/6DQ8LP4bB1 CYdgAzMlL97s9PSWtdYhEYm2ncx3muhYxLspGeDrx8yfFTZAKEMlg9rDzuvtVLrKyYh1 cDqwELVfupKTZMCYMnZ8SnkgVRbAD8HfYm+2yjfenmdhsFb6uOd4P+NR2uMCv/Q29Iln J4zQ== Received: by 10.112.45.230 with SMTP id q6mr771812lbm.94.1342690386747; Thu, 19 Jul 2012 02:33:06 -0700 (PDT) Received: from [1.0.0.7] ([94.138.26.200]) by mx.google.com with ESMTPS id b3sm377670lbh.6.2012.07.19.02.33.02 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 02:33:05 -0700 (PDT) Message-ID: <5007D44D.9030904@gmail.com> Date: Thu, 19 Jul 2012 13:33:01 +0400 From: Alexander Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Tatsuo Ishii CC: pgsql-general@postgresql.org, ringerc@ringerc.id.au, yi.codeplayer@gmail.com, pgsql-bugs@postgresql.org Subject: Re: main log encoding problem References: <5007C399.6000405@gmail.com> <20120719.172805.690055013563911415.t-ishii@sraoss.co.jp> <5007C802.3060007@gmail.com> <20120719.175436.1062448769311172541.t-ishii@sraoss.co.jp> In-Reply-To: <20120719.175436.1062448769311172541.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201207/166 X-Sequence-Number: 33642 >> Sorry, it was inaccurate phrase. I mean "if the conversion to this >> encoding is not avaliable". For example, when we have database in >> EUC_JP and log_encoding set to Latin1. I think that we can even fall >> back to UTF-8 as we can convert all encodings to it (with some >> exceptions that you noticed). > So, what you wanted to say here is: > > "If the conversion to this encoding is not avaliable then fall back to > UTF-8" > > Am I correct? > > Also is it possible to completely disable the feature? > Yes, you're. I think it could be disabled by setting log_encoding='', but if the parameter is missing then the feature should be enabled (with UTF-8).