Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5okQ-0005gH-2K for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Feb 2013 02:40:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U5okP-0002TF-JI for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Feb 2013 02:40:29 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5okO-0002TA-Ni for pgsql-hackers@postgresql.org; Thu, 14 Feb 2013 02:40:28 +0000 Received: from mail-vb0-f48.google.com ([209.85.212.48]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U5okM-0008Ff-D4 for pgsql-hackers@postgresql.org; Thu, 14 Feb 2013 02:40:28 +0000 Received: by mail-vb0-f48.google.com with SMTP id fc21so1190451vbb.35 for ; Wed, 13 Feb 2013 18:40:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:x-gm-message-state; bh=G1aJDb05Y019+n82WUu8Mj+RoYAoz5ziAFZJ9zqxMbk=; b=IpsofUJJID8wJFVXiIB3RxKo6W5kWJQQ10ctXThM4paHeS43pa4ZFiKDvpaIkrxhH0 BeWXG1vfikjYutmdb2xS1I7qLQGuOCqlHZG4jz4pwtxIxxRnIjuwgIluKH+9OoRje9lE 7opNtM/1iZg2ylppYCEUbgFbEcAxJtWBPCbhaqrJheDlTkVBLBzwlRDrPtrW5cupwnqR 88m7lJhEqv8ay1ytvJIuMmTQMatjSNlw3ean6dQ1pdwLUDLMzuq+1z6HSPH+nxGPDpLV L0FGfkQsNS2YIjsyi29wa/5cn6FdUZag6YLSsx59qzWtVTqDtHQNmP1BKjb+sOHAb2oi KkgA== X-Received: by 10.52.71.137 with SMTP id v9mr1033374vdu.104.1360809624768; Wed, 13 Feb 2013 18:40:24 -0800 (PST) Received: from tornado.leadboat.com (ip68-105-236-221.hr.hr.cox.net. [68.105.236.221]) by mx.google.com with ESMTPS id qj8sm73105337veb.2.2013.02.13.18.40.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 13 Feb 2013 18:40:23 -0800 (PST) Date: Wed, 13 Feb 2013 21:40:20 -0500 From: Noah Misch To: Greg Stark Cc: Tom Lane , Alexander Law , pgsql-hackers , Magnus Hagander , Andrew Dunstan Subject: Re: BUG #7493: Postmaster messages unreadable in a Windows console Message-ID: <20130214024020.GA28577@tornado.leadboat.com> References: <51013C2C.5020703@dunslane.net> <20130124161954.GA2448@tornado.leadboat.com> <5101A1C4.3020407@dunslane.net> <5107656C.1050400@gmail.com> <28316.1359471244@sss.pgh.pa.us> <20130130015155.GD3524@tornado.leadboat.com> <5108B6E1.9070503@gmail.com> <20130210210259.GA7401@tornado.leadboat.com> <16160.1360540050@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Gm-Message-State: ALoCoQls0b7evvBL/e1Dqm+M1y9gx5DM2SNxbqZnQF7v91xuCEKjyptAkx+Dbjm+RmF5SmHg1EFQ X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Feb 12, 2013 at 03:22:17AM +0000, Greg Stark wrote: > But that said I'm not sure saying the whole file is in an encoding is > the right approach. Paths are actually binary strings. any encoding is > purely for display purposes anyways. For Unix, yes. On Windows, they're ultimately UTF16 strings; some system APIs accept paths in the Windows ANSI code page and convert to UTF16 internally. Nonetheless, good point. > What parts of postgresql.conf are actually encoded strings that need > to be (and can be) manipulated as encoded strings? Mainly the ones that refer to arbitrary database objects. At least these: default_tablespace default_text_search_config search_path temp_tablespaces -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers