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.89) (envelope-from ) id 1hvhjz-0006rw-V4 for pgsql-admin@arkaria.postgresql.org; Thu, 08 Aug 2019 12:42:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hvhjw-0006RW-Ur for pgsql-admin@arkaria.postgresql.org; Thu, 08 Aug 2019 12:41:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvhjw-0006QH-I5 for pgsql-admin@lists.postgresql.org; Thu, 08 Aug 2019 12:41:56 +0000 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvhju-0002E8-Bz for pgsql-admin@lists.postgresql.org; Thu, 08 Aug 2019 12:41:56 +0000 Received: by mail-ot1-x330.google.com with SMTP id x21so24646435otq.12 for ; Thu, 08 Aug 2019 05:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=3QcG+QTGIYy7MhWnRsHWiU09ODIjfBkZWXReVJpNDiI=; b=PDEszD7OHq51lvTxZf0ciZLr0IdXy+61uxYmOnHS6XSUFko+lWSZCKbotH97nJYlZg phgze3e/4Ufxe588S193iqWm4Vgx4T8XQQVRii4u/Dys3OWZ1GQv485FLwaj0H1HnS8J E0uETo7Vba8HYD6TRlDYvKOH12XEGiYibKdm7Of/crH9naV8WLvWL0IOXCLy/1SkSJv5 RVniJOY9qV1IWKJOb6GjRZWrarKCrvQ7saHByEmfaYxN0murvCcBTsDZTi5klzOSzym+ q0iN6UVDiR403xnKqxD99bbQ9ejBsng1YcfO8sRYzRCg94SkeOhGaUriQQwXZLH768Tl g/ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=3QcG+QTGIYy7MhWnRsHWiU09ODIjfBkZWXReVJpNDiI=; b=p+rWM465Jv30Iv/cGZkYHwhCSt4f9M7ivZComCzzhf2OuqjXNtqsoQVLkI+rSSlW/h atVtVxeEoshg8CBwMICJzk/ESn5DPAnzywcrCsfTmb2BMGEvDkYadFrA/D0lEu1XiBfj 3snSRetfQ1/QcqTLi38rJWOjp/WhQ6t9so780xwQ2KDQgrvSQVHQgPnS5+hHCT1xHVeA KwW7tjaZuLRq3Xd2yPgoDetQCd2gjj+HUWhjh5Ab/YduGsKlLj+dgZQ4/SJXSGNPWrmc FXsFOf0NvJrAuCW7x58kRRLwDT98PGd1T3iAeelN7GCN15lXpmcQt+NcWH46lcVfPLNR ltzw== X-Gm-Message-State: APjAAAUOgTc9R8REhTuc13f8kEghMLIfVUDNJguH+FH5CUPq75RvvfD6 KMvskqtCMy4HsNVO0D1lSVmDGeZ08zc= X-Google-Smtp-Source: APXvYqwNI6nTRH1hi5jITfAIDPQ9eBPRH9DQBG2Q6XPqww8vqHrIypWpw70KL3taQch6RacwYbwaCw== X-Received: by 2002:a05:6830:4ac:: with SMTP id l12mr12220420otd.333.1565268112024; Thu, 08 Aug 2019 05:41:52 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id a18sm30491519otf.67.2019.08.08.05.41.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Aug 2019 05:41:51 -0700 (PDT) Subject: Re: Problem with schemas, possibly oids? To: pgsql-admin@lists.postgresql.org References: <3cabefc3-0713-7f5d-27c5-c0dab55cd8c6@Bios-ICT.hr> <39dd43b7-8c8a-53c4-5a0b-545e66c10bad@Bios-ICT.hr> <66506893-a4c9-ea43-24a5-e9c1decff93a@gmail.com> <0bc785cb-3849-3fcf-50c2-19baff549fcf@Bios-ICT.hr> From: Ron Message-ID: <380adff2-071b-96af-ed75-57da4145de89@gmail.com> Date: Thu, 8 Aug 2019 07:41:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <0bc785cb-3849-3fcf-50c2-19baff549fcf@Bios-ICT.hr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/8/19 7:39 AM, Arni wrote: > On 08/08/2019 14.33, Ron wrote: >> On 8/8/19 7:30 AM, Arni wrote: >>> Thank you for the response. >>> >>> On 08/08/2019 14.14, Ron wrote: >>>> On 8/8/19 4:04 AM, Arni Kromić wrote: >>>>> ...snip... >>>> Maybe there's a bug in clone_schema or it's wants some assumptions >>>> that you aren't fulfilling. >>> I'm not sure, but clone_schema has been successfully used to create >>> about 170 new schemas before this... >> I also mentioned "or it's wants some assumptions that you aren't >> fulfilling" (which can also be considered a bug). >> > So far I can't identify anything like that. Also considering that it has > worked flawlessly until now and that some other quirks (like PGAdmin's > message) have occured, I believe the culprit might be somewhere else in > the database... Which is why I suggested, "What if you manually execute the contents ofclone_schema to generate DDL and then run that DDL?"  Then you might find where the problem is. -- Angular momentum makes the world go 'round.