Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvoL1-0002g7-NL for pgsql-committers@arkaria.postgresql.org; Mon, 18 Feb 2019 19:12:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvoL0-00034t-F6 for pgsql-committers@arkaria.postgresql.org; Mon, 18 Feb 2019 19:12:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvoKz-00034l-EB for pgsql-committers@lists.postgresql.org; Mon, 18 Feb 2019 19:12:22 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvoKw-0006Cy-4Z for pgsql-committers@lists.postgresql.org; Mon, 18 Feb 2019 19:12:20 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 52D5020E20; Mon, 18 Feb 2019 14:12:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 18 Feb 2019 14:12:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WWBSvvsFTcOJzHxuR314uElqDHK kw6m50SUTDystDI0=; b=mp3pFDlQZlOitno/A3dTDU7UvuG3Nf5XkmEx6B96irF JkNf2SSP0EQM656N0AKYC8aNlW/xfHJSG40u/06+IqrccTa6mreF7wQFh+ATWStX d8C/Ghrmf7tkoauFVPQuGKSge4uqonAUnRZqrzG1I4xE9q6X9LKjDaoVp3SxN2sl DfuO/2FjrtKnxkFmheqGJ2FNvJ6o8aFD7KNaNzlTBWQtPgv15Al1iQi1qJmlIUqJ hUanGk21nzJNgCr9hmfv4eBrtluBiXRvMpJJq7ZXFjhyWm85DpZILqlWv5mMsRWG rgxSkDy6Y1cPaIkQuoseKDrz/8Um8mwgXy19HEYlKwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WWBSvv sFTcOJzHxuR314uElqDHKkw6m50SUTDystDI0=; b=l8GIIifmHyXGJzSQoBInNr /gTIVfQsHU63q/0+3zaWLyDl/K8DQa/9oJnF68Z6g/fVbbM3neo3Z2nQQcdGU3Be tPFQLQvJN1uT2FbMZ6y/qqS5EJ8+GGxeZW9elIGhYnxWR0ELhRISBFq3DQJe8MKJ Wyv5t9Kg9JQmR1b/thJsG6vA6p0MplNTqzQq/8+uH0VdHqGj/RiF52VZJrIOD1LH G7wNJt86zdhYLYs26jClRZGSmosoXBMy8e9ELf5WG20HmSfN7rdyzytoRDJnBUet Jf+Lwks+u/vquJyGVWeuIhhvR0LpJrfyAPB62tMh7OYYY65NRf2zSPHkPZ9HjWBQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtddugdeludculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucfkpheple ekrddvuddtrddugedtrddujedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgv shesrghnrghrrgiivghlrdguvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id B5563E4549; Mon, 18 Feb 2019 14:12:16 -0500 (EST) Date: Mon, 18 Feb 2019 11:12:14 -0800 From: Andres Freund To: Peter Eisentraut Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Remove WITH OIDS support, change oid catalog column visibility. Message-ID: <20190218191214.ipkyaetw4mal4pcu@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-02-16 11:14:21 +0100, Peter Eisentraut wrote: > On 2018-11-21 01:07, Andres Freund wrote: > > Remove WITH OIDS support, change oid catalog column visibility. > > I think you may have accidentally duplicated a line in this patch: > > @@ -1602,20 +1602,9 @@ ExecFetchSlotHeapTupleDatum(TupleTableSlot *slot) > void > ExecInitResultTypeTL(PlanState *planstate) > { > - bool hasoid; > - TupleDesc tupDesc; > - > - if (ExecContextForcesOids(planstate, &hasoid)) > - { > - /* context forces OID choice; hasoid is now set correctly */ > - } > - else > - { > - /* given free choice, don't leave space for OIDs in result tuples */ > - hasoid = false; > - } > + TupleDesc tupDesc = ExecTypeFromTL(planstate->plan->targetlist); > > - tupDesc = ExecTypeFromTL(planstate->plan->targetlist, hasoid); > + tupDesc = ExecTypeFromTL(planstate->plan->targetlist); > planstate->ps_ResultTupleDesc = tupDesc; > } Indeed! Thanks for noticing. Fixed.