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 1sCreg-008cGO-80 for pgsql-sql@arkaria.postgresql.org; Fri, 31 May 2024 02:06:07 +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 1sCreg-007ziT-3G for pgsql-sql@arkaria.postgresql.org; Fri, 31 May 2024 02:06:06 +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 1sCref-007zfo-PH for pgsql-sql@lists.postgresql.org; Fri, 31 May 2024 02:06:05 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sCrec-001bNt-Fp for pgsql-sql@lists.postgresql.org; Fri, 31 May 2024 02:06:05 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4202cea9a2fso15185205e9.3 for ; Thu, 30 May 2024 19:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717121161; x=1717725961; 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=rHy2oj5peCYLJSGVaMDBtcbUxJzYI9LKpArb+Dy1pIQ=; b=XPVMMeNAx7aMbitdCLoZuxEdFopHbBc7hFlVLytWSKVgKXNhPqZ4o5EIu8LFpvSzPQ rfFBSfeDA854aFsWnEQWCIpYrw/9VV01CItkcAoYuHM1mxhy24Z43KFMVD7TJBdFtNcg mDKbMN8Y67s40OpsoWcuph/YYvhE9WGmMRsm85u5++ij2W6Z8T9AjUZgVB55y6h86uaI G6M4u/jEWkq1WD/S0hgr8V10SnIWNtXk+UjWWF8VvKk+vKMxbbL+3vithY9KEe3Rnf4W IaCTpYI2g55VtBnl5NIm6zulgZm9eKw3AMuf8lFvy6Jr6L1c++8I5FXIgkNn7FzBIMiU 0j1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717121161; x=1717725961; 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=rHy2oj5peCYLJSGVaMDBtcbUxJzYI9LKpArb+Dy1pIQ=; b=wsVJGddC7TfGmY138xrYgQlaF40oBtce9yxvKstOuPFw8yQHdJHFCCntT55jLkbbA2 seB2cbl+czOygAJICNJgIUe8RYuMzmn/zfQ6YF72ycTHZrn+CDi6BQg1libWhxfvNh5g UkYZeSggKxPs/AsWgsx4vVJ7YOYTkg++yBTsndoBIHs0tuksi3YIxEudgiApMGI5y6xm N/QIi42dcS98cjKN3gDtyqZ7MPCbgWuVE2yP6e+swntLC4wHHRLjfJRAu25mqRQi8KWe EAgtMndl4r27wg01BM+g5kK0nM1Tgu62oHfFClrl/6/seX+u4hIXvkdfQRAEteoTF/3T qeWg== X-Gm-Message-State: AOJu0YyxhHubwJGJfgOV7BrFogS17HTrSnXBHfRJh/erh0ynC7MopXCw t4xcwe63shmSjsigaI+Zyee0tvRIyj05J1Je89Y020catqhZLY+DVGVTBxHjiEHo7ik1v77P7zv UwcuKe9fDFupq71aMTRk7iTZf5dKqrU7A X-Google-Smtp-Source: AGHT+IFkmbgZnQXLw4jtmAq7611E+rGcEulWbA56Xj9LlGiF2c9ftJEnxAGzKbIBX8iWQm9i5C/2FBILnXnZ10CH3os= X-Received: by 2002:a05:600c:3547:b0:421:276d:a0df with SMTP id 5b1f17b1804b1-4212e0c191amr2781805e9.41.1717121160350; Thu, 30 May 2024 19:06:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amitabh Kant Date: Fri, 31 May 2024 07:35:23 +0530 Message-ID: Subject: Re: Pgadmin 4 cannot add or modify line in a view To: pgsql-sql@lists.postgresql.org Cc: Steve Midgley , intmail01 Content-Type: multipart/alternative; boundary="000000000000cc93650619b66cda" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000cc93650619b66cda Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2024 at 3:10=E2=80=AFAM Steve Midgley = wrote: > > > On Thu, May 30, 2024 at 7:25=E2=80=AFAM intmail01 w= rote: > >> Hi, >> I tried to modify and add manuallly a line in a view with pgadmin4 but >> the interface doesnt allow it because cells are locked and no empty line= to >> add new one. >> The same issues for Libreoffice Base interface. >> >> If I do the operation with command UPDATE then it works well . >> How to permit pgadmin4 to not lock the interface ? >> >> I run postgresql 14.1. >> >> This group supports the postgres sql language. I think some people here > might use pgadmin4 (I don't), but I think you'd be better served by the > pgadmin support list (and docs > !). > > Steve > I assume you are talking about the table data view in pgadmin, rather than the views supported by postgres SQL language. If that's the case, you might be missing a primary key in your table. --000000000000cc93650619b66cda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, May 31, 2024 at 3:10=E2=80=AFAM S= teve Midgley <science@misuse.org> wrote:


Hi,
<= div>I tried to modify and add manuallly a line in a view with pgadmin4 but = the interface doesnt allow it because cells are locked and no empty line to= add new one.
The same issues for Libreoffice Base interface.

If I do the operation with command UPDATE then it wor= ks well .
How to permit pgadmin4 to not lock the interface ?<= /div>

I run postgresql 14.1.
This group supports the postgres sql=C2=A0l= anguage. I think some people here might use pgadmin4 (I don't), but I t= hink you'd be better served by the pgadmin support list (and do= cs!).=C2=A0

Steve

I assume you are talking about the table data view in= pgadmin, rather than the views supported by postgres SQL=C2=A0language. If= that's the case, you might be missing a primary key in your table.=C2= =A0 =C2=A0
--000000000000cc93650619b66cda--