Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XAfhy-0006u6-97 for pgsql-bugs@arkaria.postgresql.org; Fri, 25 Jul 2014 13:38:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XAfhx-0006Rx-P0 for pgsql-bugs@arkaria.postgresql.org; Fri, 25 Jul 2014 13:38:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XAfhw-0006Rl-PA for pgsql-bugs@postgresql.org; Fri, 25 Jul 2014 13:38:48 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XAfhr-0004E9-Nm for pgsql-bugs@postgresql.org; Fri, 25 Jul 2014 13:38:47 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XAfho-0002OU-0P for pgsql-bugs@postgresql.org; Fri, 25 Jul 2014 06:38:40 -0700 Date: Fri, 25 Jul 2014 06:38:40 -0700 (PDT) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1406295520006-5812836.post@n5.nabble.com> In-Reply-To: <1406275263545-5812822.post@n5.nabble.com> References: <20140724132303.32098.66956@wrigleys.postgresql.org> <1406213377403-5812727.post@n5.nabble.com> <1406275263545-5812822.post@n5.nabble.com> Subject: Re: BUG #11031: Unexpected interval representations MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org marius.bauer wrote > Thanks David, then please take this as an idea to let PostgreSQL call > those functions implicitly when an interval is cast to a text, possibly > enabling switching this behaviour on and off via a configuration setting. > That'd make our lives a little easier. Thanks again! :) Not my call but I doubt such a patch would be approved. If you want that behavior use the supplied functions. Enabling a change in this behavior via configuration will never fly and if we make it the default there would be no way to get at the unaligned value. You need a stronger argument than making lives a little easier. Conformance with specs, or at least a majority of other systems, would at least have the inter-operability argument. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11031-Unexpected-interval-representations-tp5812713p5812836.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs