<div dir="ltr">Great. Thanks.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 15, 2013 at 3:15 AM, Steve Singer <span dir="ltr">&lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/13/2013 12:31 AM, Sandeep Thakkar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, the patch looks fine.<br>
<br>
</blockquote>
<br></div>
This has been committed to<br>
master, REL_2_2_STABLE and REL_2_1_STABLE<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
On Thu, Dec 12, 2013 at 8:01 PM, Steve Singer &lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a><br></div><div class="im">
&lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt; wrote:<br>
<br>
    On 12/12/2013 03:49 AM, Sandeep Thakkar wrote:<br>
<br>
        The development package<br></div>
        postgresql92-devel-9.2.6-__<u></u>1PGDG.rhel5.x86_64.rpm<br>
        and postgresql93-devel-9.3.2-__<u></u>1PGDG.rhel5.x86_64.rpm at<br>
        <a href="http://yum.postgresql.org/__rpmchart.php" target="_blank">http://yum.postgresql.org/__<u></u>rpmchart.php</a><div class="im"><br>
        &lt;<a href="http://yum.postgresql.org/rpmchart.php" target="_blank">http://yum.postgresql.org/<u></u>rpmchart.php</a>&gt;<br>
<br>
        also has the port.h in the server include.<br>
<br>
<br>
    libpq-dev seems to install port.h in /usr/include/postgresql<br>
<br>
    root@debian:~/slony1-engine# dpkg-query -S<br>
    /usr/include/postgresql/port.h<br>
    libpq-dev: /usr/include/postgresql/port.h<br>
<br></div>
    <a href="http://packages.debian.org/__sid/i386/libpq-dev/filelist" target="_blank">http://packages.debian.org/__<u></u>sid/i386/libpq-dev/filelist</a><div class="im"><br>
    &lt;<a href="http://packages.debian.org/sid/i386/libpq-dev/filelist" target="_blank">http://packages.debian.org/<u></u>sid/i386/libpq-dev/filelist</a>&gt;<br>
<br>
    The RPM packages don&#39;t port port.h there.<br>
<br>
    How about the attached patch?  We will add the server includes back<br>
    in on pgport builds for slonik.<br>
<br>
<br>
<br>
<br>
<br>
<br>
        On Thu, Dec 12, 2013 at 12:23 PM, Sandeep Thakkar<br></div>
        &lt;sandeep.thakkar@enterprisedb.<u></u>__com<br>
        &lt;mailto:<a href="mailto:sandeep.thakkar@enterprisedb.com" target="_blank">sandeep.thakkar@<u></u>enterprisedb.com</a>&gt;<br>
        &lt;mailto:<a href="mailto:sandeep.thakkar@" target="_blank">sandeep.thakkar@</a>__<a href="http://enterprisedb.com" target="_blank">ente<u></u>rprisedb.com</a><div class="im"><br>
        &lt;mailto:<a href="mailto:sandeep.thakkar@enterprisedb.com" target="_blank">sandeep.thakkar@<u></u>enterprisedb.com</a>&gt;&gt;&gt; wrote:<br>
<br>
             I see the port.h also present in the postgresql-server-dev<br>
        package.<br>
             Here is the list:<br>
<br></div>
        <a href="http://packages.debian.org/__sid/i386/postgresql-server-__dev-9.3/filelist" target="_blank">http://packages.debian.org/__<u></u>sid/i386/postgresql-server-__<u></u>dev-9.3/filelist</a><div class="im"><br>

        &lt;<a href="http://packages.debian.org/sid/i386/postgresql-server-dev-9.3/filelist" target="_blank">http://packages.debian.org/<u></u>sid/i386/postgresql-server-<u></u>dev-9.3/filelist</a>&gt;<br>
<br>
             if you build the sources, you will find port.h always in<br>
        server include.<br>
<br>
<br>
             On Wed, Dec 11, 2013 at 9:28 PM, Steve Singer<br>
             &lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a> &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;<br></div><div class="im">

        &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;&gt; wrote:<br>
<br></div><div class="im">
                 On 12/11/2013 05:14 AM, Sandeep Thakkar wrote:<br>
<br>
                     How did you install postgresql on Debian? I have built<br>
                     PosrgreSQL<br>
                     sources on CentOS, OSX and Windows and the port.h is<br>
                     installed in<br></div>
                     include/postgresql/server/____<u></u>port.h and<br>
                     include/postgresql/internal/__<u></u>__port.h<div class="im"><br>
                     on all platforms.<br>
<br>
<br>
<br>
                 The packages from <a href="http://apt.postgresql.org" target="_blank">apt.postgresql.org</a><br></div>
        &lt;<a href="http://apt.postgresql.org" target="_blank">http://apt.postgresql.org</a>&gt; &lt;<a href="http://apt.postgresql.org" target="_blank">http://apt.postgresql.org</a>&gt;<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
                     On Sun, Dec 8, 2013 at 9:40 AM, Steve Singer<br>
                     &lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a><br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;<br>
</div><div><div class="h5">
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.&gt;__<u></u>__info<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;&gt;&gt; wrote:<br>
<br>
                          On 11/29/2013 04:30 AM, Sandeep Thakkar wrote:<br>
<br>
                              The only work around I see now if to set the<br>
                     CPPFLAGS in the<br>
                              environment<br>
                              to the server include directory, so that<br>
                     CPPFLAGS_CLIENT takes<br>
                              it in the<br>
                              Makefile.global.<br>
<br>
<br>
<br>
                          So in debian (or at least with Wheezy) where the<br>
                     original bug 315<br>
                          was reported<br>
<br>
<br>
                          libpq-dev puts port.h in<br>
        /usr/include/postgresql/port.h<br>
                     so it gets<br>
                          picked up by the client include paths.  I am<br>
        able to do<br>
                     a build with<br>
                          --with-pgport<br>
<br>
                          This isn&#39;t actually a problem on debian, is<br>
        the problem<br>
                     on OSX that<br>
                          port.h isn&#39;t being put in the libpq header<br>
        directories?<br>
                       Should it?<br>
                          Where do other platforms/distributions put<br>
        port.h ?<br>
<br>
<br>
<br>
                              On Tue, Nov 26, 2013 at 7:05 PM, Steve Singer<br>
                              &lt;<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.info</a><br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.&gt;__<u></u>__info<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;&gt;<br></div></div>
                              &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a><br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>&gt;.<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a><br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>&gt;.&gt;_<u></u>_____info<div class="im"><br>
<br>
<br>
                              &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias" target="_blank">ssinger@ca.afilias</a>.&gt;__<u></u>__info<br>
                     &lt;mailto:<a href="mailto:ssinger@ca.afilias." target="_blank">ssinger@ca.afilias.</a>__<u></u>info<br>
        &lt;mailto:<a href="mailto:ssinger@ca.afilias.info" target="_blank">ssinger@ca.afilias.<u></u>info</a>&gt;&gt;&gt;&gt;&gt; wrote:<br>
<br>
                                   On 11/26/2013 04:14 AM, Sandeep<br>
        Thakkar wrote:<br>
<br>
                                       Hi<br>
<br>
                                       I was building Slony1-2.2.1<br>
        sources on Mac<br>
                     OS X and<br>
                              found that<br>
                                       the build<br>
                                       fails because of:<br>
<br>
                                       slonik.c:49:18: error: port.h: No<br>
        such<br>
                     file or directory<br>
                                       CPPFLAGS is now defined to just<br>
                     CPPFLAGS_CLIENT that<br>
                              does not<br>
                                       include<br>
                                       the PG &quot;server&quot; include directory<br>
<br></div>
                       (&#39;&lt;pginstall&gt;/include/________<u></u>postgresql/server&#39;<div class="im"><br>
        contains<br>
<br>
<br>
                              port.h). Any<br>
<br>
                                       specific<br>
                                       reason why this change was made<br>
        in 2.2.1?<br>
<br>
<br>
<br></div>
        <a href="http://www.slony.info/________bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/________<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/______bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/______<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;<div class="im"><br>
<br>
        &lt;<a href="http://www.slony.info/______bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/______<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;&gt;<br>
<br>
<br>
<br>
        &lt;<a href="http://www.slony.info/______bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/______<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;<br>
<br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/__bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/__<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;&gt;<u></u>&gt;<br>
<br>
<br>
<br>
<br>
        &lt;<a href="http://www.slony.info/______bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/______<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;<br>
<br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/__bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/__<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;&gt;<br>
<br>
<br>
        &lt;<a href="http://www.slony.info/____bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/____<u></u>bugzilla/show_bug.cgi?id=315</a><br>
        &lt;<a href="http://www.slony.info/__bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/__<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;<br>
<br>
        &lt;<a href="http://www.slony.info/__bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/__<u></u>bugzilla/show_bug.cgi?id=315</a><br></div>
        &lt;<a href="http://www.slony.info/bugzilla/show_bug.cgi?id=315" target="_blank">http://www.slony.info/<u></u>bugzilla/show_bug.cgi?id=315</a>&gt;&gt;<u></u>&gt;__&gt;<div><div class="h5"><br>
<br>
                                   On systems that have multiple versions of<br>
                     postgresql<br>
                              installed might<br>
                                   pull in files for the client from one<br>
        version<br>
                     and server<br>
                              includes<br>
                                   from another.  You used to be able to<br>
        get away<br>
                     with this<br>
                              but in more<br>
                                   recent versions of PG this breaks things.<br>
<br>
                                   I am not exactly sure what the best<br>
        way to<br>
                     deal with this<br>
                              in the<br>
                                   PGPORT case? I have a feeling just<br>
        adding the<br>
                     server<br>
                              includes back<br>
                                   in on --with-pgport builds will get<br>
        us back to<br>
                     the bug 315<br>
                              situation<br>
<br>
<br>
<br>
<br>
<br>
                                       --<br>
                                       Sandeep Thakkar<br>
<br>
<br>
<br>
<br></div></div>
        ______________________________<u></u>_________________________<br>
                                       Slony1-general mailing list<br>
<br>
        Slony1-general@lists.slony.___<u></u>_____info<br>
                                       &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a><br>
        &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a>&gt;.<br>
                     &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a><br>
        &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a>&gt;.<u></u>&gt;______<a href="http://slony.info" target="_blank">slony.info</a><br>
        &lt;<a href="http://slony.info" target="_blank">http://slony.info</a>&gt; &lt;<a href="http://slony.info" target="_blank">http://slony.info</a>&gt;<div class="im"><br>
                              &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a>.<br>
        &lt;mailto:<a href="mailto:Slony1-general@lists" target="_blank">Slony1-general@lists</a>.&gt;<u></u>____<a href="http://slony.info" target="_blank">slony.info</a> &lt;<a href="http://slony.info" target="_blank">http://slony.info</a>&gt;<br>

                     &lt;mailto:<a href="mailto:Slony1-general@lists." target="_blank">Slony1-general@lists.</a>_<u></u>_<a href="http://slony.info" target="_blank">slony.info</a><br>
        &lt;mailto:<a href="mailto:Slony1-general@lists.slony.info" target="_blank">Slony1-general@lists.<u></u>slony.info</a>&gt;&gt;&gt;&gt;<br></div>
        <a href="http://lists.slony.info/________mailman/listinfo/slony1-________general" target="_blank">http://lists.slony.info/______<u></u>__mailman/listinfo/slony1-____<u></u>____general</a><br>
        &lt;<a href="http://lists.slony.info/______mailman/listinfo/slony1-______general" target="_blank">http://lists.slony.info/_____<u></u>_mailman/listinfo/slony1-_____<u></u>_general</a>&gt;<div class="im"><br>
<br>
        &lt;<a href="http://lists.slony.info/______mailman/listinfo/slony1-______general" target="_blank">http://lists.slony.info/_____<u></u>_mailman/listinfo/slony1-_____<u></u>_general</a><br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a>&gt;&gt;<br>
<br>
<br>
<br>
        &lt;<a href="http://lists.slony.info/______mailman/listinfo/slony1-______general" target="_blank">http://lists.slony.info/_____<u></u>_mailman/listinfo/slony1-_____<u></u>_general</a><br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a>&gt;<br>
<br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a><br>
        &lt;<a href="http://lists.slony.info/__mailman/listinfo/slony1-__general" target="_blank">http://lists.slony.info/__<u></u>mailman/listinfo/slony1-__<u></u>general</a>&gt;&gt;&gt;<br>
<br>
<br>
<br>
<br>
<br>
        &lt;<a href="http://lists.slony.info/______mailman/listinfo/slony1-______general" target="_blank">http://lists.slony.info/_____<u></u>_mailman/listinfo/slony1-_____<u></u>_general</a><br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a>&gt;<br>
<br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a><br>
        &lt;<a href="http://lists.slony.info/__mailman/listinfo/slony1-__general" target="_blank">http://lists.slony.info/__<u></u>mailman/listinfo/slony1-__<u></u>general</a>&gt;&gt;<br>
<br>
<br>
        &lt;<a href="http://lists.slony.info/____mailman/listinfo/slony1-____general" target="_blank">http://lists.slony.info/____<u></u>mailman/listinfo/slony1-____<u></u>general</a><br>
        &lt;<a href="http://lists.slony.info/__mailman/listinfo/slony1-__general" target="_blank">http://lists.slony.info/__<u></u>mailman/listinfo/slony1-__<u></u>general</a>&gt;<br>
<br>
        &lt;<a href="http://lists.slony.info/__mailman/listinfo/slony1-__general" target="_blank">http://lists.slony.info/__<u></u>mailman/listinfo/slony1-__<u></u>general</a><br>
        &lt;<a href="http://lists.slony.info/mailman/listinfo/slony1-general" target="_blank">http://lists.slony.info/<u></u>mailman/listinfo/slony1-<u></u>general</a>&gt;&gt;&gt;&gt;<br>
<br>
<br>
<br>
<br>
<br>
                              --<br>
                              Sandeep Thakkar<br>
<br>
<br>
<br>
<br>
<br>
                     --<br>
                     Sandeep Thakkar<br>
<br>
<br>
<br>
<br>
<br>
             --<br>
             Sandeep Thakkar<br>
<br>
<br>
<br>
<br>
        --<br>
        Sandeep Thakkar<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sandeep Thakkar<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Sandeep Thakkar<div><br></div></div>
</div></div>