Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyNZm-0001oy-Qm for pgsql-committers@arkaria.postgresql.org; Sat, 30 Sep 2017 19:37:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dyNZm-000684-Di for pgsql-committers@arkaria.postgresql.org; Sat, 30 Sep 2017 19:37:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dyNZl-00067S-Hw for pgsql-committers@postgresql.org; Sat, 30 Sep 2017 19:37:25 +0000 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dyNZi-0002Xv-77 for pgsql-committers@postgresql.org; Sat, 30 Sep 2017 19:37:24 +0000 Received: by mail-yw0-x22c.google.com with SMTP id u205so1626927ywa.5 for ; Sat, 30 Sep 2017 12:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=NWYlllUmxoMNwORQyyv870xVJZriSFyaIXHESwNJv8E=; b=uMLPWUFxKRzQP0wihHOJ91ujwp0B341Na5l2lIFB+4S7zpdoqnkfRuh8SvPl0ucL2w pmWHOTrsLF/2DGYHulmClTka2pCgIkpcDFEulhOAo9MrcJ2LBI0izihKsRcJ3IxAp1G4 2Yrh1xvTIM72jQ8gofwhXnEkoCLQmWLwPBU5SnfbWeV9eoKvUDGzeD8ks+goOYrG0ASF K26WsIyUduYJZi83a7cG2Z/ImWPkb4objprIiY8eDvhzZMAyg035BPJxPn7SRFN7YWqV t1qRoE1ni3ma38djt4/p7VwWZUr74aPxCmKUX7gqAni4YTO+b/rfnSqhCqm6OHQP+NiP 1JMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=NWYlllUmxoMNwORQyyv870xVJZriSFyaIXHESwNJv8E=; b=tZeCrXE9p3cOkq6mmSQGGC3YhE30pcj/qkwN6/3bS9qXFxp2YQUowoqN0RbUShZoY8 MVIITFiFWz/KyQ4LBDZgs9GKIh9tnBDlFqE90IxDDrRyZngtQUrk1WSRINN1Q4r+xzEQ F7RDYXOVNbLrE3SazToA15/7+7iRm/quUBZAVgYLU0e80QKxNrCH+bpd8FXqJ0HH0Vqk mnLus+pbx9+uRnPvx1SgCCbdeIlahao3En/Mh1m7v8HWIKL+sWwxQUfhL4/78KpT5H6g mafpdK3aNlcWW5Fg1hRIpNZe3zKpcHzYlQ7ViugV00AHVo88KzBUKC4L89qCWm81mQcW c8mg== X-Gm-Message-State: AMCzsaVuMdUInrkLdXJ+fjqfMFJnX/YrqIs/vJBlJ6cnZMtxDJcxOoKT m9y75X1SVkRYJxr1Lvq9QYsm0BxVApx8hfToUupKVFnWPt10QWF2RyZ/P/ZvGK/2ozJh3xNPhuo UZ4UKNB7/1jAMPDM7w1Va2YxD5lBBzADy/KKXuktXL3bVOA/GYFaArI7hM5Ax4hff5OWjE/U9fq 1ALB8WRAwnQnnDHTX2 X-Google-Smtp-Source: AOwi7QAfGR8ORfWkSdWMRBPqGxC0LfgngYmbb2BdqAFrD4km86pT1FB/mqAUZ13QC5saVICoPLjPSQ== X-Received: by 10.37.97.83 with SMTP id v80mr1468516ybb.449.1506800241172; Sat, 30 Sep 2017 12:37:21 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id x81sm2964725ywc.35.2017.09.30.12.37.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Sep 2017 12:37:20 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Support arrays over domains. To: Tom Lane Cc: pgsql-committers@postgresql.org References: <678e49f8-e32a-9b96-8e3f-a8c63d2f0e18@2ndQuadrant.com> <24123.1506799963@sss.pgh.pa.us> Message-ID: <664a27a2-a186-addc-5102-d52109496340@2ndQuadrant.com> Date: Sat, 30 Sep 2017 15:37:20 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <24123.1506799963@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 09/30/2017 03:32 PM, Tom Lane wrote: > Andrew Dunstan writes: >> We seem to have caused a problem with pg_upgrade :-( >> pg_restore: [archiver (db)] could not execute query: ERROR:  pg_type >> array OID value not set when in binary upgrade mode >> Here we're upgrading from 9.2 to HEAD. Of course, there isn't an array >> oid for the domain in 9.2. > Hmm. That's pretty annoying. We could certainly go ahead and assign > some unused type OID to the new array type, but the receiving backend > can't really do that, since it doesn't know which type OIDs will be > assigned later in the dump file. > > Maybe we could put the burden on pg_upgrade (pg_dump --binary-upgrade) > to select an OID that's not in use in the source database. > > Yes, I think we'll have to do something like that. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers