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 1rFtmF-00CgaJ-1K for pgsql-sql@arkaria.postgresql.org; Wed, 20 Dec 2023 10:26:11 +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 1rFtmD-00B67N-8W for pgsql-sql@arkaria.postgresql.org; Wed, 20 Dec 2023 10:26:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFtmC-00B67F-Vz for pgsql-sql@lists.postgresql.org; Wed, 20 Dec 2023 10:26:08 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rFtmA-00BJZc-T9 for pgsql-sql@lists.postgresql.org; Wed, 20 Dec 2023 10:26:07 +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; bh=94y0mcGGGH6gNfx1AgzCD3kWTLdC8dN7gtNg226L40M=; b=RLChtjZ/57dZ0PUyWZQEiX4bX+ kNoEgERpEidS1TZlxfSajKGhJALXHsfhjZw/TOXnMRjhi5yINk3NV+SXnuLG47O5Jviij6r1kHvyH AoWWCaLDIa9pS5BDmzUnYh0yeeS78N/P81SSUBjoEBfXeD+2wy3bgX0QF0fmfRHclHNE=; Received: from depesz by depesz.com with local (Exim 4.96) (envelope-from ) id 1rFtm9-002K2K-0a; Wed, 20 Dec 2023 11:26:05 +0100 Date: Wed, 20 Dec 2023 11:26:05 +0100 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: intmail01 Cc: pgsql-sql@lists.postgresql.org Subject: Re: Wich program generates "list index out of range" ? pgadmin or the server ? Message-ID: Reply-To: depesz@depesz.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Dec 19, 2023 at 11:26:46AM +0300, intmail01 wrote: > My db have some complex triggers and it failed when inserting line. > I use Pgadmin and it display message "list index out of range". > Could someone tell me which program is responsible of this message, pgadmin > or the remote server ? Connect with psql, and generate the same problem (same inserts). And you will know if the server is returning it. For what it's worth, in pg sources there is just one please where the phrase "list index out of range" exists, and it's in tests of plpython code. So, perhaps you have some trigger in plpython? Best regards, depesz