Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rf29m-00F1km-LD for pgsql-general@arkaria.postgresql.org; Tue, 27 Feb 2024 18:26:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rf29k-0053mF-Tu for pgsql-general@arkaria.postgresql.org; Tue, 27 Feb 2024 18:26:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rf29k-0053m7-Fx for pgsql-general@lists.postgresql.org; Tue, 27 Feb 2024 18:26:21 +0000 Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rf29h-001Z8m-6x for pgsql-general@lists.postgresql.org; Tue, 27 Feb 2024 18:26:19 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C4E721140106; Tue, 27 Feb 2024 13:26:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 27 Feb 2024 13:26:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709058377; x= 1709144777; bh=E9ubPR4eb+HDrZuHTnx4gdhW9foBcxPRq4gqAVTXJ3k=; b=q m5l2HRJEVL4sB56wpeGuNpmjous6kz7kxHRC0nFcXhgKtthL+25NCoZw74Kf4Dcr AAwnz/9K4gqTMCdiXAdctjx8lTyYOOIibONRuc9w0/fNesBHK5A0Xs/h4dwqoumx BC+UTQwn2/P20OxYAlUED/GHVVHMCxWF+BrwGsYwqnGA6QJimf0BGtJtG8Wo1VPT AkH2mYMpPplHDty8mexgxD70m+UOAvnH7pe+ANeYgcGkkC+Sw0b7KbKQqTkABmWQ PhLsB2X1ktTy3LBt8+j5fgKZNFHN+9h/lXR8uK9rfejxVRnUfcgEj1M3fDpVPrDx qloNZB3dvqQNL/JTyWzMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeehgdekkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Feb 2024 13:26:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1709058374; bh=kyx8Nmabw3Ngnf7VbFA6UHwhuEY8t8iCPursK0QvGEw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=oEMf4EFjNE1RNsk4vA6Wogd5Yi30h1ewAVcpI7TwDojCPz6CWkjIF/cBIHqK0BthJ eRg8Fgod9iCvejGHXyxqaHzsDyckEHrqAdT2rCZMZVSd3ylOyR+3oWDp0YUlwyiM4e IuQntIvUnwssDPlL24usoiDwxDGTRK5Z19iXfcSYa50+gMEioGjEuSxMSg8ilYy9F/ k04emriLVCgx+646RhHXFrgk6cPHdkb29XztSSYDbLFGmfW7bxMafchjLZKVX8af5x CiVs4arZwkqY0qrF/D6D7/08A0ca29lpTK988ywRxTrVwAGTPPcVYjTLqzPWkuFZli Xn1FsKw9xLoMw== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id E65A512B0; Tue, 27 Feb 2024 19:26:14 +0100 (CET) Date: Tue, 27 Feb 2024 19:26:14 +0100 From: Alvaro Herrera To: Dominique Devienne Cc: pgsql-general@lists.postgresql.org Subject: Re: Cannot COPY xmin? Message-ID: <202402271826.nyibacg4lzq3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Feb-27, Dominique Devienne wrote: > Hi. I just tried adding the xmin pseudo-column to my COPY, > and I get an error. I suggest you find some other way to achieve whatever it is you think you'll achieve with this. It's not reliable and you'll regret it eventually. Maybe take a step back and let us know why you want to copy xmin in the first place? > Do I need to switch to a `COPY (select xmin, cols... from tab) ...` to > access xmin? If your ultimate objective is to shoot your feet, then yes, this will work. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/