From: wambacher@posteo.de
To: pgsql-general@lists.postgresql.org
Subject: Re: got error: DELETE FROM planet_osm_line WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated
Date: Fri, 11 Oct 2019 22:56:37 +0200
Message-ID: <88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de> (raw)
In-Reply-To: <3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com>
References: <cebc9801-65d1-6ff3-be83-5a0014cb0296@posteo.de>
<3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com>
Hi Adrin,
Am 11.10.19 um 21:42 schrieb Adrian Klaver:
> On 10/11/19 10:28 AM, wambacher@posteo.de wrote:
>> Hi, after a crash i get this errpor: DELETE FROM planet_osm_line
>> WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated
>>
>> any idea what i can do?
>
> More information would be helpful:
>
> 1) Postgres version?
10.1
>
> 2) What is logged just before the crash?
will have to check this later.
>
> 3) By crash do you mean the Postgres server shuts down?
no, system hang and i had to do a power reset (nothing else helped)
>
> 4) Does this happen every time you delete -390840?
yes
>
> 5) Is -390840 really the value?
yes
> If so what is the definition for the osm_id column?
bigint,
index "planet_osm_line_pkey" btree (osm_id), Tablespace »planet3_is1
and there is no trigger on this table.
i wrote a pg/plsql function reading the table line by line using an
exception condition and writing all records to a new table. program is
running and some records have been ignored. it is quite easy to re-add
the missing records - hope so.
regards
walter
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: wambacher@posteo.de
Subject: Re: got error: DELETE FROM planet_osm_line WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated
In-Reply-To: <88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de>
References: <cebc9801-65d1-6ff3-be83-5a0014cb0296@posteo.de> <3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com> <88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de>
* 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