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 1tcf4m-001lKx-Kg for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jan 2025 06:27:57 +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 1tcf4k-00Go0B-91 for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jan 2025 06:27:54 +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 1tcf4j-00Go01-Vd for pgsql-hackers@lists.postgresql.org; Tue, 28 Jan 2025 06:27:53 +0000 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tcf4h-001tR3-1c for pgsql-hackers@lists.postgresql.org; Tue, 28 Jan 2025 06:27:52 +0000 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-467a37a2a53so57879871cf.2 for ; Mon, 27 Jan 2025 22:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738045671; x=1738650471; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dwvCNl8K6OFNaShxlPlMPiVb1Xd8QhHJSpmHTcoOH5c=; b=JSY8tSiKJgbHuwuJLWtsAg+I9cHH0g/9Prk56+4QYReK+qM6lJRrZ/zIMWW9FnVYF8 zOKYreGIfyw99dGdCZIPtljL4lkjWWJ1A+Kvtv+U2t2jASSoThn+c6iAFJJpmqHJik/N 2hemB13BfgjsebUMNr0eK90EK44PHwkLU80cwVATOf58FKH7kTiPBdr3336QDB5RRgp/ btST9HM8xuYQjSIl61/MovYMew1/7gDf2MisX22H2hWvgfoarBd0xXpVYlvYZ446/U14 wzTB3aMjTKua0Fj2HylqNpOjulZRasd5Rw9+k8+k9T4MRON2BZY7Ng5CoOfRWofGXOrg FuzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738045671; x=1738650471; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dwvCNl8K6OFNaShxlPlMPiVb1Xd8QhHJSpmHTcoOH5c=; b=Sl3o3IkJcNWo15I9XeXzkvzZAdI8bNuJGka2tZvq+/aJUKqeL0r/dXPyHYMWlUUnZZ o79WU9sUNFzRyP0noMyl0te91Of1/NV3ywttMvsJnzIFEfdorqd6hhYDi3pIY3WSInPu i4FeurCRJM/1PS3DuVwB/CfDGHanRaaE7thJJ6QDX2Dwm1VEcH5sZe87LETfXRErnZ9c 3iqHAaXKrEi4e4UCXgJzvQbbp1AeJfrz3a0WFLsjcRnk6Gz5zor/PAS1ds0TERI0A8c4 wkY1roS8nLC3INiCEQ0wZOqJpoN257jQHMMet+dgOybFvQsjhSP0ihUe7f0ifzfuE4pI KkPA== X-Gm-Message-State: AOJu0YwUuk+NZpfJ74Fofvl+WKgImM/7sWE6GKFlNvQDPznDtYQaAhTT av9Dbk7reOPfTQFBYoEZs/i5fZ9tzLZKWSarsPImqjFvBk6NWbd6SvZ8k1CFfrekLGZNVEtQIU5 6mYIqG6sso/8+DOA/0Aoz0oRhf9s= X-Gm-Gg: ASbGncvF1HlHaQjf1vofwTb8f53i2mq8QafUGG0ltVJhHwFYEp/s/p4hj2MzO8eJMK4 AYM898P7A7v/LMJl6AGJGYKj8MBOCW11zDAwAKsxRoFc5wsyKEFwZgOvgG+BYyCaVcQnwewY7Eb g= X-Google-Smtp-Source: AGHT+IE15qNX6sqOOcBaqgDUBksnkIlnXkfkggI0UyscE9oX4ufDG2dOZAlmNe8ABShxvQLHbtJWe5ACCPS9yyRUY0g= X-Received: by 2002:ac8:7d4b:0:b0:461:646c:b8fc with SMTP id d75a77b69052e-46e12a88231mr762660521cf.23.1738045670974; Mon, 27 Jan 2025 22:27:50 -0800 (PST) MIME-Version: 1.0 References: <202501110844.5ztsym4vbflm@alvherre.pgsql> In-Reply-To: From: Mahendra Singh Thalor Date: Tue, 28 Jan 2025 11:57:39 +0530 X-Gm-Features: AWEUYZn4lO23Nx_0EMKiXW8W3Jjrs5UMHrwSmNuAYLQeM3_7tWzKN1Q11eCURzE Message-ID: Subject: Re: Non-text mode for pg_dumpall To: Srinath Reddy Cc: pgsql-hackers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 28 Jan 2025 at 10:19, Srinath Reddy wrote: > > > Hi mahendra, > > I have reviewed the code in the v11 patch and it looks good to me. > > But in common_dumpall_restore.c there's parseDumpFormat which is common = between pg_dumpall and pg_restore ,as per the discussion in [1] thread i do= n't think we should create a common api ,as discussed in the thread there m= ight chances in the future we might decide that some format is obsolete and= desupport it in pg_dumpall ,while support in pg_restore for compatibility = reasons. > Oaky. Thanks for review. I will make changes as per discussion in another thread. On Tue, 28 Jan 2025 at 11:52, Srinath Reddy wrote: > > make check-world fails,i think we don't need $port and $filename instead = we can use something like 'xxx'.so fixed it in the below patch. In offline discussion, Andew already reported this test case. I will fix this in the next version. > > Regards, > Srinath Reddy Sadipiralla, > EDB: http://www.enterprisedb.com > --=20 Thanks and Regards Mahendra Singh Thalor EnterpriseDB: http://www.enterprisedb.com