Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwraI-0004ki-5A for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2015 13:06:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZwraH-00086D-5Z for pgsql-hackers@arkaria.postgresql.org; Thu, 12 Nov 2015 13:06:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZwraE-00084R-V2 for pgsql-hackers@postgresql.org; Thu, 12 Nov 2015 13:06:35 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZwraC-0001GO-1P for pgsql-hackers@postgresql.org; Thu, 12 Nov 2015 13:06:34 +0000 Received: by wmec201 with SMTP id c201so90476139wme.1 for ; Thu, 12 Nov 2015 05:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joh_to.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=t2mxBukv+d5jlfbXmJvkLm5qWzYwxFl1ITQbqWJyW/U=; b=Ip3iX8+LtjxNA3wNAhfNx/OmnbqC1vJCpq4kU0uQkVxDcwe2EIFRMaq3nPJm86gj5H PCwV3fnbRGeXkG0SFDD0+0Gkh2gVQwGWqiVcrzePuqLIZr+AwXpLDQMe8pry/Yf34LgY BE+g60UGMx/fjUQ1104gePQMNq9p54LeUV91umhj9taca7TO6ZppGM/He4N6QafwZWFo bkQc5xK6fHtoxxvP3eq8+Qm0QCXZTv3fHUbt2SsBMDeXqjsDqrNm8CJfmhd0/PQEbJ32 mhqp3MddQDGNzr7NvluMeonV4AacUdZW/kGmOtxWe7yi9f2XECqB9nM0xwrz29bdsn0w Lh1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=t2mxBukv+d5jlfbXmJvkLm5qWzYwxFl1ITQbqWJyW/U=; b=Z0uTYtE7Qi/Xc9Hj2BQ88LybOSXKeKXq9Hkd/gyeg8Sqrt/GYq9y2rJSLLRqNR7k7j ElbQYwyC3aJaSUW9F7K0epVAaCwGi2nt9GgozgzhV8xwvCi/bZ9uIefu4um7bx0Fqlrg PQk+fkm/ifzEqg/nXuxAWPDIkw+4/owEUEHjdiFXiwqkArE18jP3OgXYQY/RgEzFNF+M 5TMMU2nnz1lj0PFxzgFqcU1M3+myS7j0YbaY95yQPYrC3z8mgGyneMUwT1W1m1LiwZAi U5mPqwoK4DGXFB+uooteea6PDQkyMs11DH5WsUEIJ2JzHluwNuMNsaVJHnNV0dPYvrUr td0w== X-Gm-Message-State: ALoCoQnFChI4V2OOsVBKR3dM1vbzqpeC+voe7SZ0LAanAnig1UJfcbdhGQg8fx7CWc+1pMCSGxz1 X-Received: by 10.28.92.16 with SMTP id q16mr49368565wmb.94.1447333590581; Thu, 12 Nov 2015 05:06:30 -0800 (PST) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by smtp.googlemail.com with ESMTPSA id c4sm2679770wjs.36.2015.11.12.05.06.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Nov 2015 05:06:29 -0800 (PST) Subject: Re: psql: add \pset true/false To: Michael Paquier , Tom Lane References: <0949c317-3ec4-4516-a3aa-33a6cfbf5267@mm> <5631FCAF.9060204@joh.to> <27336.1446126627@sss.pgh.pa.us> Cc: Daniel Verite , PostgreSQL hackers From: Marko Tiikkaja Message-ID: <56448ED4.5070702@joh.to> Date: Thu, 12 Nov 2015 14:06:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 11/12/15 1:50 PM, Michael Paquier wrote: > FWIW, I am -1 on the concept of enforcing output values for particular > datatypes because that's not the job of psql In my view, the job of psql is to make working with a postgres database easy for us human beings. That means (among other things) formatting and aligning query output for readability. I don't see how reformatting unreadable boolean values meant for computers is that big of a stretch. .m -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers