Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57C8E200B27 for ; Wed, 8 Jun 2016 04:10:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5654B160A4F; Wed, 8 Jun 2016 02:10:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9DBDF160A36 for ; Wed, 8 Jun 2016 04:10:25 +0200 (CEST) Received: (qmail 12745 invoked by uid 500); 8 Jun 2016 02:10:24 -0000 Mailing-List: contact commits-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list commits@hawq.incubator.apache.org Received: (qmail 12736 invoked by uid 99); 8 Jun 2016 02:10:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 02:10:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 76406C005C for ; Wed, 8 Jun 2016 02:10:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9kL8-x4LF2Vh for ; Wed, 8 Jun 2016 02:10:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 99E215F574 for ; Wed, 8 Jun 2016 02:10:21 +0000 (UTC) Received: (qmail 12634 invoked by uid 99); 8 Jun 2016 02:10:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2016 02:10:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A4797DFC6F; Wed, 8 Jun 2016 02:10:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: iweng@apache.org To: commits@hawq.incubator.apache.org Message-Id: <3cf1851b5da44263ab6d8d5d4ca68de5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-hawq git commit: HAWQ-713 Make lc_numeric guc to have GUC_GPDB_ADDOPT Date: Wed, 8 Jun 2016 02:10:20 +0000 (UTC) archived-at: Wed, 08 Jun 2016 02:10:26 -0000 Repository: incubator-hawq Updated Branches: refs/heads/master f2798203e -> 23151d53a HAWQ-713 Make lc_numeric guc to have GUC_GPDB_ADDOPT Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/23151d53 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/23151d53 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/23151d53 Branch: refs/heads/master Commit: 23151d53abd612efc3acc79d05cde133c315e674 Parents: f279820 Author: Karthikeyan Jambu Rajaraman Authored: Tue May 3 13:39:58 2016 -0700 Committer: ivan Committed: Wed Jun 8 10:08:42 2016 +0800 ---------------------------------------------------------------------- src/backend/utils/misc/guc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/23151d53/src/backend/utils/misc/guc.c ---------------------------------------------------------------------- diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 863f7ff..748705f 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -7494,7 +7494,9 @@ static struct config_string ConfigureNamesString[] = { {"lc_numeric", PGC_USERSET, CLIENT_CONN_LOCALE, gettext_noop("Sets the locale for formatting numbers."), - NULL + NULL, + /* Please don't remove GUC_GPDB_ADDOPT or lc_numeric won't work correctly */ + GUC_GPDB_ADDOPT }, &locale_numeric, "C", locale_numeric_assign, NULL