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 1rGHTt-00EV5d-Nw for pgsql-sql@arkaria.postgresql.org; Thu, 21 Dec 2023 11:44:49 +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 1rGHSu-007WCK-4N for pgsql-sql@arkaria.postgresql.org; Thu, 21 Dec 2023 11:43:48 +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 1rGHSt-007WC9-Pa for pgsql-sql@lists.postgresql.org; Thu, 21 Dec 2023 11:43:47 +0000 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rGHSn-00DAIs-3m for pgsql-sql@lists.postgresql.org; Thu, 21 Dec 2023 11:43:47 +0000 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-2041c292da8so428954fac.3 for ; Thu, 21 Dec 2023 03:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703159019; x=1703763819; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=t8pAz+wsxBis0CE1Y1rOpE/kv7CPFKG1bizKa6w3MbA=; b=ESbMi/PoM8Wu3s6rpZHLfEcOYP2A3f2ublBFJmSEsH20IFHyBI8q+46nbhAM7liVut MWCobrpbr1VVq5y0M/fnkcgupuGgRonUnj5bUPLWjyhdH9FQsT/gexn02QlZaCG5IqaI o+FghQ965Rp7pfYDHaIbM2lDrHHVH65GodfDNKA3ln61fP4YAvTQjsEh3hV2Yi9z1KWP eGxalpmXT16kaJW9PIZhYlpnYfSF3MDavvXX7O+meNGVcnnIBpBBzr4IBNt6aBRZideh 0uk4u0JExt58MLSXDoowq43KzWj0E6LShv7Hns1yCTEbPrb1cbjCTmWJiwmWl/bZjOPC 0GIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703159019; x=1703763819; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t8pAz+wsxBis0CE1Y1rOpE/kv7CPFKG1bizKa6w3MbA=; b=piJmRVWHVDvkHVn2nVfzOgPaGdOjRoaWr/3C4u2vfe0h4FUmcqPHhDN+W+kLBsjgZf o2F+9raz4dsY5HJ4fGYtOgUMAw5ZETubMADTxBoQFFYJnBUckrW2WogUj2gXUgcfjEFG AZ9JMukAYSInnCNZsA94lt1hjKTnVlgnrZxRuN0OOdmeUOKv5YAiprSz7L10E4O9uS8u GRQego77CHfJUyTsKJJQBJfPZL7IJ5JKBpWrmdGuXB2b2k9kgrRIojG2Eu4H/XEHjheF 5yYU0eKtAbbuHB+dMRuq6QSHATAcq11rWWg7vWpOw+ylBaJ6aI/AanpRocW/5NeMiuKr MFZQ== X-Gm-Message-State: AOJu0Yw33wducwIRWWQqRONK4tOJw+IZOchAxcS5AO2qZUXjci52R3mE CU4aTKsb6i1e9A62mZTPczyoLZEOUffFWfdt023iusuqOPkOO6s1 X-Google-Smtp-Source: AGHT+IE8l1fvmZOmiTf4YKW5YkYJySlgkhtelqWDfDaqL8ex6De/wnF968G5o5loSACaEoJ95lj0az0ev7aL5R5Zyrw= X-Received: by 2002:a05:6871:8a3:b0:203:fbeb:dab2 with SMTP id r35-20020a05687108a300b00203fbebdab2mr1422554oaq.46.1703159018826; Thu, 21 Dec 2023 03:43:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: intmail01 Date: Thu, 21 Dec 2023 14:46:53 +0300 Message-ID: Subject: Re: Wich program generates "list index out of range" ? pgadmin or the server ? To: depesz@depesz.com Cc: pgsql-sql@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000050313f060d039c67" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000050313f060d039c67 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I try an insert clause with psql command and there is no error. I use also libreoffice base interface and it works. The Pgadmin command line works fine too. The only failed interface is the Pgadmin array. It shows "list index out of range" for insertion in the array. Best regards. On Wed, Dec 20, 2023 at 1:26=E2=80=AFPM hubert depesz lubaczewski wrote: > 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 > > --00000000000050313f060d039c67 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I try an insert clause w= ith psql command and there is no error.
I use also libreoffice ba= se interface and it works.
The Pgadmin command line works fine to= o.
The only failed interface is the Pgadmin array.=C2=A0 It shows= "list index out of range" for insertion in the array.
<= div>
Best regards.

On Wed, Dec 20, 2023 at 1:26=E2= =80=AFPM hubert depesz lubaczewski <depesz@depesz.com> wrote:
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&quo= t;.
> Could someone tell me which program is responsible of this message, pg= admin
> 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

--00000000000050313f060d039c67--