Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C08F5172E9 for ; Thu, 8 Jan 2015 08:14:33 +0000 (UTC) Received: (qmail 11985 invoked by uid 500); 8 Jan 2015 08:14:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 11924 invoked by uid 500); 8 Jan 2015 08:14:34 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 11913 invoked by uid 500); 8 Jan 2015 08:14:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 11910 invoked by uid 99); 8 Jan 2015 08:14:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2015 08:14:34 +0000 Date: Thu, 8 Jan 2015 08:14:34 +0000 (UTC) From: "Mohit Sabharwal (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9309) schematool fails on Postgres 8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mohit Sabharwal updated HIVE-9309: ---------------------------------- Attachment: HIVE-9309.patch > schematool fails on Postgres 8.1 > -------------------------------- > > Key: HIVE-9309 > URL: https://issues.apache.org/jira/browse/HIVE-9309 > Project: Hive > Issue Type: Bug > Components: Database/Schema > Reporter: Mohit Sabharwal > Assignee: Mohit Sabharwal > Attachments: HIVE-9309.patch > > > Postgres upgrade scripts set {{standard_conforming_strings}} which is not allowed in 8.1: > {code} > ERROR: parameter "standard_conforming_strings" cannot be changed (state=55P02,code=0) > {code} > Postgres [8.1 Release notes|http://www.postgresql.org/docs/8.2/static/release-8-1.html] say that "standard_conforming_strings value is read-only" > Postgres [8.2 notes|http://www.postgresql.org/docs/8.2/static/release-8-2.html] say that it can be set at runtime. > It'd be nice to address this for those still using Postgres 8.1 > This patch provides a schemaTool db option "postgres.filter.81" which, if set, filters out the "standard_conforming_strings" statement from upgrade scripts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)