Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fufUF-0004wI-38 for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 15:00:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fufUC-00061V-SA for pgsql-admin@arkaria.postgresql.org; Tue, 28 Aug 2018 15:00:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fufUC-00061D-DQ for pgsql-admin@lists.postgresql.org; Tue, 28 Aug 2018 15:00:52 +0000 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fufU9-0000GD-2F for pgsql-admin@lists.postgresql.org; Tue, 28 Aug 2018 15:00:51 +0000 Received: by mail-qk0-x241.google.com with SMTP id f17-v6so1192560qkh.4 for ; Tue, 28 Aug 2018 08:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=SLPhxwJdIKDr4hHHOfLyHLQqFn0HVHhxZnUOeiWGbz4=; b=OlpAo11iaEmsqEpD1QufDJFkX8d9hgOej8YLrSt0oOLNA441iPilY/K1hK5kUFt0WE cxQfcN9Uxzaj2Tcvx5N/q/JgcaL588i7FXzB2AlfsYvq/kVQhuNbLzhYyLs/7Tf4Ch1+ 5m2MYsyMs91S4s++jHgJHgsKWuJ17RaqdnxjKZuI/bIrNnUWJHRKMEN3FFWEMmQBBxtF mPDOo0qOM3Ps7z4eW0/ofLqGbNRKVdpfmtKpjFS3IKyCBv/Ww9AlalbFiN/ac+YfW+Ix LuQLZ/8e1z8X1qnk0PCh7Io98wufyhhmy3ZwBMTKjFJHqXovY+9tOFSL2Yi7x2swfMCo 45aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SLPhxwJdIKDr4hHHOfLyHLQqFn0HVHhxZnUOeiWGbz4=; b=dOJlJHvB6VBE08B2NZ9UVrZBTrV2bfCB0cwRg8bxL/LmocxXOPhk7yscAyyI9tE8ou ovQuDfFQZqPcZ8g/WlkKBmAYgnd8z1XPtVRTbxbOyFlvJrp2QL2wdpAmrZUxyGr+JyHO nU3zwR19l7qtgP4dLt0FDPO6hrPe5MHJwAuL95+z47U+Vsg9jNKonDI0NTEfQMJm0uMM mGxaUSl3iDShhibMgB0hI6kwOL45s9N2YKhcZue3bAEXJXpqwDD1H+963bGXQHFEzVjK mZdFJ2iXDCkgfEENPWMkTLIU7l77kjQ33V650S/I55ootOahg7ukHoZ7qIxJhldxsF// XOGg== X-Gm-Message-State: APzg51Cdut7oQcMYr2s4S5B9IscDcN1QG80uDfh76rywjVdvYGLIF6pZ LjGKetW1tshKtr0i6DaT7R0tOWAi2+QhUTeeyR8Jm7Tu/V/JfvsFgOGBUFPEd5Ltn764r7QShdg JlVzaTKRFBL86yGbGJ8QN8z6hd+2qSAZkvh5DbtQLiZ+7vq2xVQ8CtUDPCTygv164KeJd10DD7e DkINhr/8UgDA4= X-Google-Smtp-Source: ANB0VdZMf6uHdltf+Q0RSnmxLMgp3VTFKhnhHOvuafBrnDBVJdLP4ja+hk63idHOHa1mF7OpkGvHeA== X-Received: by 2002:a37:1968:: with SMTP id k101-v6mr1920482qkh.270.1535468447877; Tue, 28 Aug 2018 08:00:47 -0700 (PDT) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id b16-v6sm711400qkj.76.2018.08.28.08.00.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 08:00:47 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id ACF477D0; Tue, 28 Aug 2018 12:00:45 -0300 (-03) Date: Tue, 28 Aug 2018 12:00:45 -0300 From: Alvaro Herrera To: wambacher@posteo.de Cc: pgsql-admin@lists.postgresql.org Subject: Re: tuple concurrently updated Message-ID: <20180828150045.4jp4x2jvzod3ooik@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-Aug-28, wambacher@posteo.de wrote: > no, i respect your questions, but i can't answer them. because i don't > know in detail what osm2pgsql is doing. > > planet_osm_line it postgis > >              Spalte              |            Typ            | > > Sortierfolge | NULL erlaubt? | Vorgabewert > > ---------------------------------+---------------------------+--------------+---------------+------------- > >  way                             | geometry(LineString,4326) > > |              |               | > > Indexe: > >     "idx_planet_osm_line_highway" btree (highway) > >     "planet_osm_line_index" gist (way), Tablespace »planet3_is1« > >     "planet_osm_line_pkey" btree (osm_id), Tablespace »planet3_is1« > >     "planet_osm_line_tags_index" gin (tags), Tablespace »planet3_is1« > > Tablespace: »planet3_ts1« I bet that something is happening to the special Postgis catalog table for the geometry type when you run this update. Maybe, say, if you have two such updates in a transaction, things break. The innards of geometry_in are, um, fascinating (though I can't tell for sure whether it tries to modify anything). Also, I wouldn't put my hands to the fire for the gist support for it. I further bet you'd have more luck asking a Postgis mailing list rather than pgsql-admin. -- Įlvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services