Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jHlBp-0000iC-QY for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2020 09:22:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jHlBo-0004A1-Ab for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2020 09:22:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jHlBn-00046N-R9 for pgsql-hackers@lists.postgresql.org; Fri, 27 Mar 2020 09:22:08 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jHlBk-000403-Qk for pgsql-hackers@postgresql.org; Fri, 27 Mar 2020 09:22:06 +0000 Received: by mail-pg1-x52b.google.com with SMTP id o26so4296461pgc.12 for ; Fri, 27 Mar 2020 02:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=3UvwS5HJlCkFTSug2aIqsAusyhm4WCRRDgdhJax4Kps=; b=JyQrHvL5BecdAbeZgY5ooLcP0skH0uuBfYhSf4dd9NHN5YtbB8X/xZPmGgc3/7UD9D fZOhfg83aekwd/L09di6K9cNKRXQcUR3+r0SNMJQhHeZyeWRGyrC6hiNXmpEWJWyF2tR 85GZFoWZ9GA4dvitv0bUzucywAAnWWgVrD24czj0Vepb+pxVV+4WuU30YEEWp95hUFK/ W0JcYefOJs8yLS4B9iKIDf47TfW74OrMPlQ0HScfoZZf1b7ZeJMMHeZ8PvKGuw8DUgwh RFhXBaweG3fctEiMWfD8csV+hfjLSVjggbCf4bAHundhwttG8WOdjD+uKQk1/Y9RtQ0H Oi4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=3UvwS5HJlCkFTSug2aIqsAusyhm4WCRRDgdhJax4Kps=; b=HlCRsfAXK6k5jn+2ddLXhAMjKg7fEMV0GsZbYdzatD1RqHaCHys4ZaDihK6ngUXICF Q3blrnPUmzhNpmvox3HDFt8dAHOfJgC1fpXkukg12bBZmwY/gjedr4GfjBQlOYh+zp7G WWxISmhtvu7Bi2NXV8KriOJtUXgVawAFj92Wqce+OE+XN5Ngo5ib+suimUKVx+DVfuyq 2czZDlFY3iutdiANXuF8mo/YZgeUUZ7/jZIamOR1pwjWRNXKs1mHZvzyl6w8TIlcXcFj 5+2u1nJ0eo3NeyqVH2BV49bvl1G9wO6CMMVVM9ZD/Y7AoyHWXIqjRfuP1ogzWS8tEjPM YJ3Q== X-Gm-Message-State: ANhLgQ2aQIAkQCecGUZaw0v3GEVssuyOn6PBFJF33J0sqw1rnvAbFcee vSmEW+F/FgNs6Z+Go+TP/5T+M/qfWzSQvEV8uao9QwRhmIL0kA+G60m+sdN19WwBb4aBkrW4n5A fLr+ZpgJ1Ih4hC28dYpucYJhgYUPCuopROK+C8lIH58TCk9badhRtdQba6olsFf8yxZyRrFGxK6 WCIcVka6Gh3YfSlgT9XGcWTjyUN+HMUg== X-Google-Smtp-Source: ADFU+vu7Vzd68e7vFmgqYMBRwYYOaEzOVBh2Op0/zPkB9W1nMh9YLbkWWM8vVFCoBc8aVZ9nDaG5PA== X-Received: by 2002:a63:8f07:: with SMTP id n7mr13215458pgd.362.1585300922739; Fri, 27 Mar 2020 02:22:02 -0700 (PDT) Received: from localhost.localdomain ([157.33.128.192]) by smtp.gmail.com with ESMTPSA id v25sm3547839pgl.55.2020.03.27.02.21.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Mar 2020 02:22:02 -0700 (PDT) Subject: Re: [Proposal] Global temporary tables To: =?UTF-8?B?5pu+5paH5peM?= , Prabhat Sahu Cc: Pavel Stehule , Robert Haas , Tomas Vondra , Konstantin Knizhnik , PostgreSQL Hackers , =?UTF-8?B?6JSh5p2+6Zyy?= =?UTF-8?B?KOWtkOWYiSk=?= , "Cai, Le" , =?UTF-8?B?6JCn5bCR6IGqKOmTgeW6tSk=?= References: <24099f4e-742c-e92b-729c-77bac1ca80d4@postgrespro.ru> <77320A29-DC39-4EFE-A5E2-0A00F6A316E8@alibaba-inc.com> <7eb93026-0f35-325a-132f-ca183a5da3ac@enterprisedb.com> <7CCE7DE5-5E85-4155-9010-5EDEAE762194@alibaba-inc.com> <087bd809-e1d7-ee44-da1f-25996abad442@enterprisedb.com> <40391A22-CB8B-4143-B936-7707667F7905@alibaba-inc.com> <68FC0EB3-8E39-4300-B9ED-036F4163C791@alibaba-inc.com> <25D7E36F-B2D6-4A63-BFC7-E1FD24EA6BE0@alibaba-inc.com> From: tushar Message-ID: <507b246f-4350-f4af-3950-a334be7c2cf2@enterprisedb.com> Date: Fri, 27 Mar 2020 14:51:21 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <25D7E36F-B2D6-4A63-BFC7-E1FD24EA6BE0@alibaba-inc.com> Content-Type: multipart/alternative; boundary="------------ADD0934EA7C39F6FDFAD127A" Content-Language: en-US X-CLOUD-SEC-AV-Info: edb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------ADD0934EA7C39F6FDFAD127A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 3/27/20 10:55 AM, 曾文旌 wrote: >> Hi Wenjing, >> This patch(gtt_v21_pg13.patch) is not applicable on PG HEAD, I hope >> you have prepared the patch on top of some previous commit. >> Could you please rebase the patch which we can apply on HEAD ? > Yes, It looks like the built-in functions are in conflict with new code. > > This error message looks wrong  to me- postgres=# reindex table concurrently t ; ERROR:  cannot create indexes on global temporary tables using concurrent mode postgres=# Better message would be- ERROR:  cannot reindex global temporary tables concurrently -- regards,tushar EnterpriseDB https://www.enterprisedb.com/ The Enterprise PostgreSQL Company --------------ADD0934EA7C39F6FDFAD127A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 3/27/20 10:55 AM, 曾文旌 wrote:
Hi Wenjing,
This patch(gtt_v21_pg13.patch) is not applicable on PG HEAD, I hope you have prepared the patch on top of some previous commit.
Could you please rebase the patch which we can apply on HEAD ?
Yes, It looks like the built-in functions are in conflict with new code.


This error message looks wrong  to me-

postgres=# reindex table concurrently t ;
ERROR:  cannot create indexes on global temporary tables using concurrent mode
postgres=# 

Better message would be-

ERROR:  cannot reindex global temporary tables concurrently

-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company
--------------ADD0934EA7C39F6FDFAD127A--