pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Moreno Andreo <moreno.andreo@evolu-s.it>
To: pgsql-general@lists.postgresql.org
Subject: Re: Not able to update some rows in a table
Date: Mon, 2 Jul 2018 17:07:10 +0200
Message-ID: <ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it> (raw)
In-Reply-To: <CAECC44feKzvSFx-EVB3zEFejwDJQPepvwjw1NXAL9X+qZp4HBg@mail.gmail.com>
References: <CAECC44feKzvSFx-EVB3zEFejwDJQPepvwjw1NXAL9X+qZp4HBg@mail.gmail.com>

Il 02/07/2018 16:51, Marco Fochesato ha scritto:
> Dear all,
> I have a table with 21 columns.
> Primary key is done with 20 of these colums.
>
> I have 3.313 records.
> I don't know why, but I'm not able to update some of these records.
> I don't understand, it seems that I'm not able to fetch.
Could you post some of the statement you execute? If you are unable to 
SELECT some record, it's quite straightforward that you can't UPDATE them.

> It happens with Pgadmin, with Python Psycopg2 and also through 
> Libreoffice Base.
OS? PG Version?

>
> Looking to the properties of the table in Pgadmin, I can see only the 
> estimated number
> of rows. Counted rows are 'not counted'.
Seems that autovacuum is not active, or has never run (but i'm quite 
sure it's not related to your problem, so it can be investigated later).

Cheers

Moreno.-






view thread (15+ messages)  latest in thread

Message-ID: <ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it>
Permalink:  ../ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it/
Also on:    postgresql.org/message-id/ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: moreno.andreo@evolu-s.it
  Subject: Re: Not able to update some rows in a table
  In-Reply-To: <ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it>
  References: <CAECC44feKzvSFx-EVB3zEFejwDJQPepvwjw1NXAL9X+qZp4HBg@mail.gmail.com> <ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox