Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgDSb-0005ok-G4 for pgsql-general@arkaria.postgresql.org; Fri, 20 Nov 2020 20:56:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kgDSY-00043J-Nl for pgsql-general@arkaria.postgresql.org; Fri, 20 Nov 2020 20:56:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgDSX-00043C-3t for pgsql-general@lists.postgresql.org; Fri, 20 Nov 2020 20:56:46 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgDST-0000nZ-4V for pgsql-general@postgresql.org; Fri, 20 Nov 2020 20:56:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 8DBACF72; Fri, 20 Nov 2020 15:56:37 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 20 Nov 2020 15:56:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=O UK7a1HdHKO2+/PVOAp+Tfb3E5Eog1y9KxvTUtS7odk=; b=kTBBtypXyINfWqt0B 02f+/ip+I79ndRtetW+AWghILXR+Vbf+eocOzviqLs56tiL9Ltpen4VBH4rNK6OK wDKVajA2RuF/ZqCTy5TAwxyfeWFsbc+yV3vqO0WMXImVRCNi58tMD6AwxJF0TaOp JE0IVizg4EnTcBVnp5+K5FKT8auM/ySGJVZPdmDX8WsUPQnhnf62nL8TPYGWbcXM TyBRw1OcO5iupX8+F2emWRPvhLLWNyVpejihb6reUN/WDgGjAmmkVT0WW6O0eKRd UjxCD4xdFzVMR7Pnnc1cE7DRX+hV6QLitBeNYqVHp/lGMH4uWWl8akmv0VF+d3Y2 MfYtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=fm1; bh=OUK7a1HdHKO2+/PVOAp+Tfb3E5Eog1y9KxvTUtS7o dk=; b=Fq6aaYZ5xWkjZfzl90QZeShlhPIl0HZxR/fvvDGZUvM63cp+Q8vki7C2u qEqmFxWGJqPXEfShpFwmX92+i0B1lZeKAve/QcFMTNmIfUjgufv3whErctQBnLq+ Ow75laWgQJ9yn4M/hMpiIc7Azk7CycbPLsCVwRxqyG5+YHmW4uc1K+73zrhhALrQ O7t62liW3Mg4msahFbBJ8v0FbrsnoTuMDkRAKjiQ5/qFpeW8cUbKc5ET8St762BV uo1QGM59pJf3gCEm8gdGWqh6HlOmNEh5UWiV6jVx1lRqQnBQe4Z6QZO98pYdmV/X W7ebtCvWh5Nh9jz7K+vDzQHrw1IsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegtddgudegvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepteejvdetffejuedvleeifeefheeutdfhgfdvhffh hfekvdduveegvdejudefgfevnecukfhppeejhedrudejvddrudelrddufeelnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 806093064AAA; Fri, 20 Nov 2020 15:56:36 -0500 (EST) Subject: Re: pg_dump - how to force to show timestamps in client log To: Durumdara , Postgres General References: From: Adrian Klaver Message-ID: Date: Fri, 20 Nov 2020 12:56:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/20/20 10:01 AM, Durumdara wrote: > Hello! > > We need to log the pg_dump's state. > What objects are in copy, and what are the starting and ending times. > > But when I try to redirect the output, the result doesn't have timestamps. > > PG 11, on Windows. > > As I see the -v option isn't enough to see the starting times. > > For example: > > 2020-11-19 12:00:01.084 Dump table content table1 > 2020-11-19 12:03:12.932 Dump table content table2 > ... > etc. If you are redirecting to a file it have the creation time that you can use. Internally times don't really matter for the objects as the dump is based on a snapshot. Said snapshot is based on visible transactions not time. So for practical purposes they all occur at the same 'time'. > > > Thank you for any information you can provide! > > dd > > -- Adrian Klaver adrian.klaver@aklaver.com