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 ED157200C2A for ; Wed, 15 Feb 2017 03:13:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EBB44160B6A; Wed, 15 Feb 2017 02:13:38 +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 3FB40160B5F for ; Wed, 15 Feb 2017 03:13:38 +0100 (CET) Received: (qmail 76764 invoked by uid 500); 15 Feb 2017 02:13:37 -0000 Mailing-List: contact dev-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 dev@hawq.incubator.apache.org Received: (qmail 76751 invoked by uid 99); 15 Feb 2017 02:13:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2017 02:13:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 977AAC144F for ; Wed, 15 Feb 2017 02:13:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id XH9Bnsi2S6wU for ; Wed, 15 Feb 2017 02:13:34 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 01B965F659 for ; Wed, 15 Feb 2017 02:13:33 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id x49so126723404qtc.2 for ; Tue, 14 Feb 2017 18:13:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ohLufINrS+SY7MJbLutEgziBERXrTCxXJ6y3NWOaQ0M=; b=F54El9DZNHzJ1PQrZMHd0dikh86IDPEmW80C0KRaEcK8uUBosC+Q/BOcgDUg0HplAB 4swtScNYuT2eNq8gAJG4yZNN8xqodrGfAt24tZ6aXCUIoK54hEUX0BhhLcWVaIRjaHRe J5KUgC/5HJN98EbaGtlCYQf0EeaPbXr2t2r2cZnADKjwpAE/L7OqdCM2G00IqLzdhnHv x0fn94X+s3zVKgGf1KiEGCQtvlauyg0eijuEN9LxUAm81KZfFD7jhR74ZMRAaeuEn1gv 4hqDHa1qy+zAg0fV9KV1XPXNaLEXoO7iWlBr6pTLGXLEP8kjfKbs+Lh0lt2ETKifZa+R tlVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ohLufINrS+SY7MJbLutEgziBERXrTCxXJ6y3NWOaQ0M=; b=PBa4Bf6JhHGUNEDWLWQjCQd0mPYwkEjs7l7bb2X181/kJz/vtqK6K8YpQa8ygeTf86 abK/psklz8ADnBScCKGZ+G8oZ9W4Ruid7XCewYl3+WdGUYf2buWDGT/vP6TIwOjP3Khy czbvYRgRyl4xsaqu8Ap4v7VMdEIe3fsxOhoTXXp99Lz+CFZzqgNIJLUN3gJNBz6BGHOP i5TGdfFoUZu+j2WKGa7EkPfOSerUyxjQIBCJ53tVcPCgMnAeWWPANnNhdeNL79YzxvfW T1k7jzhqEHubq5wUCXdCptcog9Dl52Kpce69Dc8YtNEw65AmOSlDfvEyXsodNvIzqXII prHQ== X-Gm-Message-State: AMke39nfcRUFHlQIsf8NY/CR42q5fitgtqr4wsix3rmZLHNbmHpOQfR3Q53o01lSXd6LJf+TsiDcJZiAx/4k3oNJ X-Received: by 10.200.44.74 with SMTP id e10mr31853493qta.145.1487124810406; Tue, 14 Feb 2017 18:13:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.81.135 with HTTP; Tue, 14 Feb 2017 18:13:30 -0800 (PST) In-Reply-To: References: From: "Alex (Oleksandr) Diachenko" Date: Tue, 14 Feb 2017 18:13:30 -0800 Message-ID: Subject: Re: HAWQ upgrade command To: dev@hawq.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113f42040fbc880548883a42 archived-at: Wed, 15 Feb 2017 02:13:39 -0000 --001a113f42040fbc880548883a42 Content-Type: text/plain; charset=UTF-8 Hi Lili and Hubert, I was testing my changes to upgrade HAWQ from HDB 2.0.0.0 to HDB-2.2.0.0(current master), with my changes in the scope of HAWQ-1314. It went through, so no worries. Regards, Alex. On Sun, Feb 12, 2017 at 7:35 PM, Hubert Zhang wrote: > Hi Alex, > There is an known issue if you init the system between commit 787c096 and > commit 1866a93(Nov 22-Nov25 2016). Could you please check the proargtypes > of function gp_relfile_insert_for_register in pg_proc by the following > steps: > > - select oid,* from pg_proc where proname > ='gp_relfile_insert_for_register'; > - \c template1 > - select oid,* from pg_proc where proname > ='gp_relfile_insert_for_register'; > > > On Mon, Feb 13, 2017 at 10:57 AM, Lili Ma wrote: > > > Hi Alex, > > > > Could you tell the original version and to-be-upgraded version of HAWQ, > so > > that we can try to reproduce it? > > > > Thanks > > Lili > > > > On Sat, Feb 11, 2017 at 10:27 AM, Alex (Oleksandr) Diachenko < > > odiachenko@pivotal.io> wrote: > > > > > Hi, > > > > > > I saw HAWQ-1171 was merged to master recently, and I am trying to > figure > > > out how it works. > > > The scripts drops gp_relfile_insert_for_register procedure if it exists > > and > > > creates it again using latest signature. > > > > > > I tried it out and it worked for me in a case when > > > gp_relfile_insert_for_register doesn't exist. > > > But in case when gp_relfile_insert_for_register exist I am getting: > > > > > > *ERROR: cannot drop function > > > gp_relfile_insert_for_register(oid,oid,oid,oid,oid, > > > cstring,character,character,oid) > > > because it is required by the database system* > > > > > > Is it even intended to be run when procedure exists? Do I have to set > any > > > GUCs to make it work? > > > > > > Regards, Alex. > > > > > > > > > -- > Thanks > > Hubert Zhang > --001a113f42040fbc880548883a42--