Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uyc4I-00ALGK-Hh for pgsql-admin@arkaria.postgresql.org; Tue, 16 Sep 2025 20:14:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uyc4G-002N94-DW for pgsql-admin@arkaria.postgresql.org; Tue, 16 Sep 2025 20:14:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uyc4G-002N8v-1I for pgsql-admin@lists.postgresql.org; Tue, 16 Sep 2025 20:14:24 +0000 Received: from mx0b-0039f802.pphosted.com ([205.220.176.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uyc46-001BcB-0Q for pgsql-admin@lists.postgresql.org; Tue, 16 Sep 2025 20:14:18 +0000 Received: from pps.filterd (m0209982.ppops.net [127.0.0.1]) by mx0b-0039f802.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58GHPHTf2157753 for ; Tue, 16 Sep 2025 13:14:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dat.com; h=cc :content-type:date:from:message-id:mime-version:subject:to; s= ppdk230404; bh=UisvFIANXnih/xvSWQ3ucRnG6bmhfPIffLTWqS/zIfA=; b=b +M0Fy0Wrbb9PMYk54KV7cYuZXce2FkXmKfd3loSa/CkiRuJ6St1NfI50QqGWH70x 4loYBBXEtF43pfPCZ99zh0LZHkugUlYMd/ny5R7vMx1oEpw4+DR+i+gl9oo3RNa7 Xcqd3UMG5iA9dvIb24aq8kyXRP3QduZuxPfQ+EEgJZoxSJOyFJruUM3cVzDGyCoJ o5awAoPDIxC37seXnAtUna0bgYxVNuoi2NW7nz52l0EXIyBcFG313KGDAbPGISDl /V6Hj1pdUDqiVQsQ5NeTA/Bm/drjRFioej8JxE+WYiJFWu+AU3OO6E8BVeXfqSN/ m+W10XGXDRuK1BGJOyJ7A== Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by mx0b-0039f802.pphosted.com (PPS) with ESMTPS id 495nyxm0pr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 16 Sep 2025 13:14:12 -0700 (PDT) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-b041abd4854so645396066b.2 for ; Tue, 16 Sep 2025 13:14:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758053651; x=1758658451; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UisvFIANXnih/xvSWQ3ucRnG6bmhfPIffLTWqS/zIfA=; b=mZ8yjBi3MuWbtU9IicNTqAeCpTBvABLSTpagwMyeeRo6grtwIjslhCnF+kMgRS0VzY etE6UfCEeWmXrE8o8ERKr2kN7sEiVH5Xx7CTdGQOrFs22CRKGhDJTK1P+QobOABkWiHJ pLaSFdhioAf1zvfOdxaQavhT7ERgxXRwt1ad+k7zTVWefD9Sc/IViF5KmkqVEAknLREn 2BxfkzaWEgwZ86K4otLG+moLfa09owZSVJ00AseD3IFZ67UtjMgwlUvl2eTT3o0mC0ge wxN7PxZOm68+LoOQPRynnJVbPOz8wjDBqCsN2QgHisGkIXvOLx/BktvIpEaUmKDTojh4 5/oA== X-Gm-Message-State: AOJu0YzYOUXkQgR2sVn3EiXJG2fKX0Sn5DMMFLWI1/SmvaWenD3nM9Av IMTYbgI71uvFOvNDtM0Mne77BcHybfy1dydEJogKH7LBfChHkDiGD9nZrfrbDlR73DK2XtksjFX QULsPspZ2cYCS+QIQa/Uwcx/txlsIAqyMXyeqlAVFC/332wzSg5Hgft0qwVMMIsZIRNE0jB+W/Z EAQw92+xWS1iQX36IXYb9pvAxJlwcslYv74zJyagqVr3LkfB1Dg9F0ovglUAhu1iG/nvC5MEStr jPmsFi6Qmp2 X-Gm-Gg: ASbGncsOqwSC5nPqHWhfP2L/bFh10FILeMVqQu4f/KrNFqSGmVr4gLq7+73A0tsqZZV ahZwy1M1zihyRE+3ssOAifjYDvNfOPJ9XwUG9pKpfqDp25cYoyMVBJFICjeTN/IY7xWKqREMBFy /nOCRHLFNUnixLxZvZ0LA= X-Received: by 2002:a17:907:5c1:b0:b0c:ecb0:d15 with SMTP id a640c23a62f3a-b0cecb00f56mr1068262366b.23.1758053650993; Tue, 16 Sep 2025 13:14:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzzDB8350CVznvNgAh31yBUonqo9rkPylz5KCKRL/EqvNsAtPyZzbFaRFKbPztPrt2vltOX1m3lIxbnGeIe4Q= X-Received: by 2002:a17:907:5c1:b0:b0c:ecb0:d15 with SMTP id a640c23a62f3a-b0cecb00f56mr1068260866b.23.1758053650582; Tue, 16 Sep 2025 13:14:10 -0700 (PDT) MIME-Version: 1.0 From: Sam Stearns Date: Tue, 16 Sep 2025 13:13:58 -0700 X-Gm-Features: AS18NWA7s0ijszNQdoTB_DajXdC4auC0MN9ZX83zgadV5rb7izn7iHSHcLEtVik Message-ID: Subject: dropuser error To: Pgsql-admin Cc: Henry Ashu , Julie Mather Content-Type: multipart/alternative; boundary="00000000000056e7af063ef0c32d" X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-16_02,2025-09-16_01,2025-03-28_01 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000056e7af063ef0c32d Content-Type: text/plain; charset="UTF-8" Howdy, I'm trying to drop a user but getting the following error: dropuser: error: removal of role "dalec" failed: ERROR: role "dalec" cannot be dropped because some objects depend on it DETAIL: 262 objects in database csbtest I have run queries to check for ownership on tables, views, sequences, materialized views, functions, and schemas. All return 0 (zero) rows. Could anyone provide any advice here, please? Thank you, Sam -- Samuel Stearns Team Lead - Database c: 971 762 6879 | o: 971 762 6879 | DAT.com --00000000000056e7af063ef0c32d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Howdy,

I'm trying to dro= p a user but getting the following error:

dropuser= : error: removal of role "dalec" failed: ERROR: =C2=A0role "= dalec" cannot be dropped because some objects depend on it
DETAIL: = =C2=A0262 objects in database csbtest

I have run q= ueries to check for ownership on tables, views, sequences, materialized vie= ws, functions, and schemas.=C2=A0 All return 0 (zero) rows.

<= /div>
Could anyone provide any advice here, please?

Thank you,

Sam

--

Samu= el Stearns
Team Lead - Database
c: 971 762 6879 | o: 971 762 6879 | DAT.com


=
--00000000000056e7af063ef0c32d--