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 1mX4tm-0006JO-GV for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 17:03:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mX4tl-0004Xi-Bc for pgsql-general@arkaria.postgresql.org; Sun, 03 Oct 2021 17:03:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX4tl-0004Xa-2v for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 17:03:37 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mX4tj-0004mv-5u for pgsql-general@lists.postgresql.org; Sun, 03 Oct 2021 17:03:36 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5F3725C0116; Sun, 3 Oct 2021 13:03:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 03 Oct 2021 13:03:34 -0400 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=t 4j7A+PE9XspruM6JV4MdXkiPMqwidj89YoFAZU5dX0=; b=OHeombYdLOLX2VCvm 1Z0cDs5bWMoEFZ+6Lh3PImCdmjTN32S7JYGOp7RVAeg3s67PaifUj7grCWEcEe3u eTb+IeWM0o5t+UsXwaAJstG8AFMjQVK2L5IQRZeSo6ChgdLEwgZo6pky5K/L4Gr7 RTjdjBLocdDviUle68WFkVjZHKRq3vVBKsPuTCQshpQPKgFmnSKvPidpKLb9Ut5p TnVdUSo5uce7e4wxatuQrC25dR9niOt7V4JevXS250eAY/EyfHggiI/WqwuAazN2 AmRzsfRPCXDZbJGIecAFcIfc49bmj8bdLWRoQmO8sxielFXTXKYVFaQ0BepioBy9 b9hEA== 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=t4j7A+PE9XspruM6JV4MdXkiPMqwidj89YoFAZU5d X0=; b=C+CH+xwNgERWth6zNmc/o7O8L9XEXxfziDrGshHGux5Nw577ruX6xtskG /twouidAVdPRbWFV8tsq+NuKYTLzs6dZP9scscmd/OvRQ2y7FGu769PFJAIw4L6k yZzRHrALA/gmES0/B5ufr9pt3crj+nMmhPyqKgnlTZH3SFpNyJzs8LXL6yC8yKqW nWxz5B3P1auYEIPHHQ+O49c31vqycrqIT4EbMw4fjO19zqMHF7OeiIQPoxqVHmkj L2L+aq07xYVDLBOQ93ugA87a/hujOM+yaP+4O7Yr93lJ8Ewt4hjNlTPNUgJ08ItU z6VpPKHXZy1g44yyblXuiKa6gTHcw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeltddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepteejvdetffejuedvleeifeefheeutdfhgfdvhffh hfekvdduveegvdejudefgfevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Oct 2021 13:03:33 -0400 (EDT) Subject: Re: pg_dump save command in output To: Joao Miguel Ferreira , pgsql-general References: From: Adrian Klaver Message-ID: Date: Sun, 3 Oct 2021 10:03:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.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: Archived-At: Precedence: bulk On 10/3/21 9:56 AM, Joao Miguel Ferreira wrote: > Hello all, > > is there a way to ask pg_dump to save a comment in the output file with > the full command it is executing ? No. What information is the comment trying to convey? Are you dumping in plain or custom format? > > thank you > Joao > -- Adrian Klaver adrian.klaver@aklaver.com