Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFn9C-0006UL-JR for pgsql-general@arkaria.postgresql.org; Fri, 17 Nov 2017 20:21:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFn9B-0001nA-Sz for pgsql-general@arkaria.postgresql.org; Fri, 17 Nov 2017 20:21:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eFn6d-0005j7-81 for pgsql-general@postgresql.org; Fri, 17 Nov 2017 20:19:19 +0000 Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eFn6Y-00019n-RA for pgsql-general@postgresql.org; Fri, 17 Nov 2017 20:19:18 +0000 Received: by mail-qt0-x236.google.com with SMTP id r37so288078qtj.12 for ; Fri, 17 Nov 2017 12:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=iugrpT3+WqacP/XJ6Qd5wGYbhvtc997MAQq7Flfgts4=; b=VvVH1+2UajBy5jPqfb7SNUk1XsvRUl47ja2lDR4gUKU6QU+NvvemYF2axXliBK2GJ7 vgCk1Dl5Z6/v5vH4MNZoBpG1W2aTj7YV6QNyFp9U0Tzmg3GLwWR7z3nY7aaWLlT+ijMI y3b/K7MlLN83oapaUci+PzXDLu9183kxj5UdT55a52G9r9wsfzYY+7WoQ+NiGUZzdscS b0dgxwpDDGGLaLFWvaInAdkOm7Me0VUNbjK61smiWgeBI8EWChPeiuaeVOI/djzAwWt9 hUCsKEJ9rFFf1YXuHXHGpKOJEnuWgClZaQpnrbcKVz9HWGIVuFVdLrm9Eor599crM7Gl 3Z8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=iugrpT3+WqacP/XJ6Qd5wGYbhvtc997MAQq7Flfgts4=; b=WpV4bzTobfxIJ2AG8TiAPB+hEPg+dVyqJuH4n7Vh4eUrEGNsc6wBlOl1RAgiJ6CS6w RN2arad1GCmsDDOFrc5+64CNB7PLHUr6xk/hok5E+AbD2fg93Jpwb5/2WHgLYfq3fiSX DQgH9skv6T/PNVl4JMlADSlyfv4mRhNv7H4NuUxCwf4NZAEiRqN3ZznG9iZ744b3vpRh agMoNE7N4wmPGqO1sj7rytev16/4hSnqBjFbbPoi6ztyxE8w8DCLTVi9KEzp2fvTyA9b k+jv39tuDzkkhSS/vGRkW8BpJqSmEExVurKJFUIDZlx3Sn3ZDAnzaERuVXGN1QzihAfp QnBQ== X-Gm-Message-State: AJaThX6xrixx/zedSUKZtTsLe9BkpWBFeJCWK1cSisV0X2NvDtGLTlrM N8G2GM3mRrOmjh30jBEtkPlPODFR X-Google-Smtp-Source: AGs4zMal0O4LwZWi7q9AOIttLNms8OMVrsbc4+mE+VgkErJvWaAeGB6GAeXFcqmSlAe/i+pXz23p8Q== X-Received: by 10.200.46.233 with SMTP id i38mr11085543qta.109.1510949952700; Fri, 17 Nov 2017 12:19:12 -0800 (PST) Received: from [192.168.1.240] (host145.190-229-78.telecom.net.ar. [190.229.78.145]) by smtp.gmail.com with ESMTPSA id d127sm2983050qkg.46.2017.11.17.12.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2017 12:19:12 -0800 (PST) Subject: Re: mild modification to pg_dump To: Scott Mead Cc: "pgsql-general@postgresql.org" References: <83ed30b6-a397-9072-67e5-0bde83ce28b7@gmail.com> From: marcelo Message-ID: <023dc0d6-8fa3-7217-cf5c-0e3131c3b8c2@gmail.com> Date: Fri, 17 Nov 2017 17:19:08 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------66AEA4802CB00998086760AB" Content-Language: en-US List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org This is a multi-part message in MIME format. --------------66AEA4802CB00998086760AB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sorry, I was not exact. I don't need nor like to change pg_dump. Rather, based on pg_dump code, I need to develop a daemon which can receive a TCP message (from a privileged app) containing some elements: the database to dump, the user under which do that, and his password. (My apps are using that same data, of course, encripted to the common users). Thank you, Scott. On 17/11/17 10:49, Scott Mead wrote: > > > On Fri, Nov 17, 2017 at 7:51 AM, marcelo > wrote: > > I would need to do a mild change to pg_dump, working against a 9.4 > server on linux. > Which source tree do I need? Have gcc 4.9.2 in my Lubuntu > installation. > TIA > > > What exactly do you need to change?  Most likely, there is a quick and > easy fix for whatever you're doing without modifying pg_dump itself. > > That being said, if you really want to modify the source, download the > source tarball: https://www.postgresql.org/ftp/source/ > > > > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > > > > > -- > -- > Scott Mead > Sr. Architect > /OpenSCG / > http://openscg.com --------------66AEA4802CB00998086760AB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Sorry, I was not exact.
I don't need nor like to change pg_dump. Rather, based on pg_dump code, I need to develop a daemon which can receive a TCP message (from a privileged app) containing some elements: the database to dump, the user under which do that, and his password. (My apps are using that same data, of course, encripted to the common users).
Thank you, Scott.

On 17/11/17 10:49, Scott Mead wrote:


On Fri, Nov 17, 2017 at 7:51 AM, marcelo <marcelo.nicolet@gmail.com> wrote:
I would need to do a mild change to pg_dump, working against a 9.4 server on linux.
Which source tree do I need? Have gcc 4.9.2 in my Lubuntu installation.
TIA

What exactly do you need to change?  Most likely, there is a quick and easy fix for whatever you're doing without modifying pg_dump itself.

That being said, if you really want to modify the source, download the source tarball: https://www.postgresql.org/ftp/source/
 




--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



--
--
Scott Mead
Sr. Architect
OpenSCG

--------------66AEA4802CB00998086760AB--