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 1oIRTB-0004dQ-Fj for pgsql-admin@arkaria.postgresql.org; Mon, 01 Aug 2022 09:12:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oIRTA-0007TK-B2 for pgsql-admin@arkaria.postgresql.org; Mon, 01 Aug 2022 09:12:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIRT9-0007T3-VF for pgsql-admin@lists.postgresql.org; Mon, 01 Aug 2022 09:12:12 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIRT6-0004wd-DC for pgsql-admin@lists.postgresql.org; Mon, 01 Aug 2022 09:12:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4tszFbYcqAv7BqOX7EurSd4Tj9IrUru/9ZtFkTJbeSg=; b=p8vhgykYUhNsJhLd8Zn5CAsyA8 n6OvaIQ9g3k8Y0jKYKcVRm78FjN+fY/SK3Zxm4bfE3zuNz6dn2EYe0V5hQBpCLtIJBAm8lvkC75wX 0Wav21XjvjZz4mL/2AyVyIURrpH7s10csKLnLbAzS1g61vq+3dsPROsbCSi4V+Q3XdZc=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1oIRT3-00020v-29; Mon, 01 Aug 2022 11:12:05 +0200 Date: Mon, 1 Aug 2022 11:12:04 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Vincent Predoehl Cc: pgsql-admin@lists.postgresql.org Subject: Re: Debugger for plpgsql Message-ID: <20220801091204.GB2385@depesz.com> Reply-To: depesz@depesz.com References: <755186BD-D6D7-443F-80B7-C115932A54C7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <755186BD-D6D7-443F-80B7-C115932A54C7@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Jul 31, 2022 at 04:09:41PM -0500, Vincent Predoehl wrote: > Is there a Debugger for postgresql? The only thing I could find was > PLDebuggef and I had trouble getting it to compile. Quick search showed that there is something called plpgsql_debugger from OmniDB (https://github.com/OmniDB/plpgsql_debugger), but truth be told, when I'm writing/debugging stuff, I rely on RAISE LOG/NOTICE. Best regards, depesz