Re: Not able to update some rows in a table - Mailing list pgsql-general

From Moreno Andreo
Subject Re: Not able to update some rows in a table
Date
Msg-id ebbd616e-9be1-143c-5227-92c32783a6a7@evolu-s.it
Whole thread Raw
In response to Not able to update some rows in a table  (Marco Fochesato <marcofoc@gmail.com>)
List pgsql-general
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.-




pgsql-general by date:

Previous
From: Robert Zenz
Date:
Subject: Re: Not able to update some rows in a table
Next
From: Adrian Klaver
Date:
Subject: Re: Not able to update some rows in a table