Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYxU9-0000ZZ-Lg for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Sep 2015 14:33:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZYxU9-0005pQ-2U for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Sep 2015 14:33:29 +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 1ZYxU8-0005pC-Da for pgsql-hackers@postgresql.org; Mon, 07 Sep 2015 14:33:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZYxU5-0004jf-Hi for pgsql-hackers@postgresql.org; Mon, 07 Sep 2015 14:33:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t87EXMZH008899; Mon, 7 Sep 2015 10:33:22 -0400 From: Tom Lane To: Greg Stark cc: PostgreSQL-development Subject: Re: [COMMITTERS] pgsql: Move DTK_ISODOW DTK_DOW and DTK_DOY to be type UNITS rather than In-reply-to: References: <28642.1441508551@sss.pgh.pa.us> Comments: In-reply-to Greg Stark message dated "Mon, 07 Sep 2015 13:39:41 +0100" Date: Mon, 07 Sep 2015 10:33:22 -0400 Message-ID: <8898.1441636402@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Greg Stark writes: >>> Also, what about ecpg's copy of the code? > So the only mention of these constants I can find in ECPG is the > structures in dt_common.c. I don't see a any code using it and I'm not > clear what the purpose of having this structure is or the significance > of changing it. Is this sufficient? Is it even necessary? Hm. It does look like these entries might be dead code so far as ecpg is concerned. I'd still make the changes you illustrate, just to avoid having the ecpg code diverge further than necessary from the backend. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers