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 1q9Pqu-0003FO-Cc for pgadmin-hackers@arkaria.postgresql.org; Wed, 14 Jun 2023 12:43:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q9Pqt-0003nt-BT for pgadmin-hackers@arkaria.postgresql.org; Wed, 14 Jun 2023 12:43:55 +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 1q9Pqt-0003nk-3z for pgadmin-hackers@lists.postgresql.org; Wed, 14 Jun 2023 12:43:55 +0000 Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q9Pqp-0029ih-8o for pgadmin-hackers@postgresql.org; Wed, 14 Jun 2023 12:43:53 +0000 Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-78a5384a5daso608500241.0 for ; Wed, 14 Jun 2023 05:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1686746630; x=1689338630; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=voAOmEd5gqmu7fsCEz9NnpfryNd3+KPOLNPyWqVR+2Q=; b=RTKvDxMVyAwePX78JwXGWo1gVQD1V9y0ujKacuBon/D9unOehk8bnscsUzNqzqNLEZ P80rPVHYdikD7ZHNnn09uwQVz6QkknysGTIWs91uvTj6ROZq1ERxTtBjnO+AyciYHhAL Sl+qxtFqeZHFw53WE1U/RXlUEZplsMArH5P7Qo/b9ahLlCPKwN1hq2A5oCn0N5bpWEi/ GzcnqrlPfRkm8kwuwb2EVKwncvk/F8Mll3rO/zT9U65LFmeeggcv5WmQrdM5ZOwgjtZF gFfOfhCjKB42iKar9xcdrtwB3R3z6v/0Ajkjo809o4cVsyVWazxe2avHT6y0Q8DzFODs WgfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686746630; x=1689338630; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=voAOmEd5gqmu7fsCEz9NnpfryNd3+KPOLNPyWqVR+2Q=; b=e4Nkx462mJQjSYnFunNhv20fACg4KwO3N1VuytC+lCurMu7IDGddY82hMeXn+NKyvj tVZ+K7U48LcBmDpX8WtEg19zIvef3wZA/tSFxH/yxqV6vaszrH7sh4sfiqG476o/suG0 5UT6LO8MZhaou6PKVGKYy1J+BXLskHdlB/SeOTl3OR+PuIHI+CUSaA5sPdRrkipXmIJk iL6poH728cz7xs73J9DYQv5VE7vvHAnuVJgyFEaPrqrtoQMco0rQsqEO7EQ7xbeX7VBD 3hzQGj9WjJkjvzs/X8YyZIeMFSwCUgRIsQYTE9rMwrRd1DhEelpcUg9m7LvJBqZQTYYr paAg== X-Gm-Message-State: AC+VfDwLCMFiWSfXI81/m+oWOmneJO2NIHs0mRItcDTTDracsgvvia+t /IkcXMHAkkWL/SlUHqvIalEkeUSGEPr0dzgnw6ugWHgyKDi3eJs5lWo= X-Google-Smtp-Source: ACHHUZ5xDIQqsmazTsSYgnMzVFQr9l/Zeaj/ERh4XOxzuzav+oTTDw/B8iaZR50+9n/GwSnau5dntpq4x+F3wqXVpsk= X-Received: by 2002:a05:6102:2825:b0:43f:33cb:660e with SMTP id ba5-20020a056102282500b0043f33cb660emr2332353vsb.29.1686746629699; Wed, 14 Jun 2023 05:43:49 -0700 (PDT) MIME-Version: 1.0 From: Nikhil Mohite Date: Wed, 14 Jun 2023 18:13:38 +0530 Message-ID: Subject: Required inputs in issue #6138 To: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000b098bb05fe164dc6" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b098bb05fe164dc6 Content-Type: text/plain; charset="UTF-8" Hi Hacker, I am currently working on issue #6138 , which was fixed earlier but the fix was not correct so working on it again. Steps to reproduce the issue: 1. Open *View/Edit Data *for *table1* 2. Open the PSQL tool delete the same *table1 *and recreates the same name table *table1* and try to re-execute the query from the already opened *View/Edit data *panel. 3. pgAdmin throws an error in the Messages tab *List index out of range *(pgAdmin query to get table columns from Postgres based on *table oid* which was deleted and the return result is empty which is not handled in pgAdmin)*.* Approach to fix this issue: 1. If the user re-executes the query from already opened *View/Edit data* we should fetch the table details by using *schema and table name (not using table oid)* and show the newly created table records in the result. (This will only fix an issue with *View/Edit Data *however if the user switches to properties or some other panel it user will still get an error notification with content *"could not find the specified table."*) -- *Thanks & Regards,* *Nikhil Mohite* *Senior Software Engineer.* *EDB Postgres* *Mob.No: +91-7798364578.* --000000000000b098bb05fe164dc6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hacker,

--000000000000b098bb05fe164dc6--