Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZcbO-0002tM-Nq for pgsql-admin@arkaria.postgresql.org; Mon, 02 Nov 2020 16:22:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZcbN-0008Vo-MO for pgsql-admin@arkaria.postgresql.org; Mon, 02 Nov 2020 16:22:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZcbN-0008VK-FC for pgsql-admin@lists.postgresql.org; Mon, 02 Nov 2020 16:22:37 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kZcbL-0004xQ-FJ for pgsql-admin@postgresql.org; Mon, 02 Nov 2020 16:22:37 +0000 Received: by mail-qk1-x736.google.com with SMTP id l2so12001854qkf.0 for ; Mon, 02 Nov 2020 08:22:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:date:subject:message-id :to; bh=ZBOBa3+Xb8u7cfHVXrMlIAnxgVDNDo0wErKWiqYkFjU=; b=pgTR/VekoR09pZXG9YB7CHFA06/zfiEi0UazLhXyMF8GimpTdVTEyb1JNrj46myPbe DZn14CdZjs4TlHSh2A8zo6oVlX47OxyXfBhCnF3+ckDn5wA6gQphji/eMw/ZnD2gFdL8 tQx+jEvrAXE8xHwJ6/s03bGpP4+tzXeHKQWPNigvQcG4dXgwTh9JsCTzpZdVXmnMl0xY 3bPlaBylJeJOzgSlNDktMP/wPL1PFaBvbGVCYsr1oVTPGyHU1lzEVd7BBN0sOOHC2KF1 6y54V3gtR+974P8U90MjHbJ+IOjc1et9NcoMJsI65gGuFDTjzU0xcMh06sGljiBoKC7Z YdVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version:date :subject:message-id:to; bh=ZBOBa3+Xb8u7cfHVXrMlIAnxgVDNDo0wErKWiqYkFjU=; b=Q8lv74uBFWA/Xmlyzdl3ACFovAhCHQXSlAtfxdsb4uBOI93mYOsrzmEJdx5y861y+d /rNPgs05zILcZGS5JTqU0R5t1JovxAUcqr8y5WNdh7oPle7e85c+uocfmBzPihAjvyJZ ltPQZIvbX65lzWvJxvwXr8o1tm48BIrrmoZnBTLmWCrxOf4TUi2pzrVAY1Npmj4hspWl e1uSCHiBmgaJw3+Q9i1U1ppE1lPeJEDkqdLRIU4n1dmmLlY//QNdvR63xq2/z7HNPvs2 08+sN8PjKDUFoySFDVOmQ/RK4frrVMKk8ecCqvJ2+du2gvlA9ndco73wQPb0PXDrO33X y+ng== X-Gm-Message-State: AOAM531KT0hD1TOeKa8PZGjayHWgb3znjRNSjuxJYnxOBiEXPgRoyx7z 0lifJqoqKWv9absXn0nZ10KV1VExTkmUlg== X-Google-Smtp-Source: ABdhPJw1JFKQc4tehoCS6Ed4ihaMxv+1kgv01Gr/L61avu3PHcgRqjmQnvN3x6V3y3pDmoAcFPuyQw== X-Received: by 2002:a05:620a:5a2:: with SMTP id q2mr15426087qkq.335.1604334152913; Mon, 02 Nov 2020 08:22:32 -0800 (PST) Received: from [192.168.1.35] (cpe-71-72-37-104.neo.res.rr.com. [71.72.37.104]) by smtp.gmail.com with ESMTPSA id e8sm8198025qti.28.2020.11.02.08.22.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Nov 2020 08:22:32 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: John Scalia Mime-Version: 1.0 (1.0) Date: Mon, 2 Nov 2020 11:22:30 -0500 Subject: Maybe a possible bug in the partitioning code? Message-Id: <7135CF08-2B34-4B69-BFB5-FF57542478E1@gmail.com> To: pgsql-admin X-Mailer: iPad Mail (18A8395) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi all, again, While I=E2=80=99m waiting for my devs to confirm the first table that I part= itioned is working correctly, I started working on second of three that I ne= ed to do. So, I added the code to end of my original script, but there was a= typo in it. Now, as this code runs in a transaction block, so I don=E2=80=99= t think anything it created should actually be present in the database, but o= n a subsequent rerunning, I got an error that one of the partition tables ac= tually exists already. However, I cannot see it, nor drop it from the server= . The error in the script is: relation =E2=80=9Ctemp_my_second_table_global=E2= =80=9D already exists, but the system cannot see it in order to drop it, say= ing =E2=80=9Ctemp_my_second_table_global=E2=80=9D does not exist. That=E2=80= =99s really a catch-22. Is there a system table where I can look and maybe d= rop it from there directly? =E2=80=94 Jay Sent from my iPad=