pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Leandro Guimarães <leo.guimaraes@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Copy Bulk Ignore Duplicated
Date: Mon, 17 Jun 2019 16:04:42 -0700
Message-ID: <73659afd-3658-0b58-9479-b34d02197da3@aklaver.com> (raw)
In-Reply-To: <CAJV35FOZ+y_2ucCSmDA5Mrpx6cG3qLZRKWHxA3AzMaVP21d6SQ@mail.gmail.com>
References: <CAJV35FN-pL3-oYHVDpGUM0coD0zgcF8c+xgcAu+VmUs27JyCmg@mail.gmail.com>
	<87o92zpzba.fsf@gmail.com>
	<CAJV35FPDDhgTcvtp=e_PBvjBe0+5b3+KfGHrVSzK+nuBT5+uxw@mail.gmail.com>
	<c426e95f-3144-410b-413c-4c6b016d7d2b@aklaver.com>
	<CAJV35FN428XGBeNYUf_y5YnydTG4mW2Chk1w9_fLUMd-tJaKHA@mail.gmail.com>
	<c051176c-3727-5fc3-fcf2-6550abe0714f@aklaver.com>
	<CAJV35FP03Vzw7=KhGt1AoieZSvDmZLrHUTDN=MJAYUhDYpVHRw@mail.gmail.com>
	<5380793b-0380-f494-c7a4-488770df3a3e@aklaver.com>
	<CAJV35FP_Te2Qw6_TJF7CMCp9O_sE4aOi-dfFaQBN93rcsavN4Q@mail.gmail.com>
	<1462f256-5c3c-ffeb-200c-3ef1ccce04dc@aklaver.com>
	<CAJV35FOZ+y_2ucCSmDA5Mrpx6cG3qLZRKWHxA3AzMaVP21d6SQ@mail.gmail.com>

On 6/17/19 12:01 PM, Leandro Guimarães wrote:
> I've installed all dependencies, but when I try to "make install" in 
> pg_bulkload folder if have some errors like this:
> 
> In file included from pgut/pgut.h:24:0,
>                   from pgut/pgut-fe.h:13,
>                   from pg_bulkload.c:17:
> /usr/include/postgresql/internal/pqexpbuffer.h:149:13: error: old-style 
> parameter declarations in prototyped function definition
>   extern void printfPQExpBuffer(PQExpBuffer str, const char *fmt,...) 
> pg_attribute_printf(2, 3);
>               ^
> pg_bulkload.c:743:1: error: expected ‘{’ at end of input

Where did you get the source and what version of source?

The most recent should be 3.1.15 from here:

https://github.com/ossc-db/pg_bulkload

> 
> 
> My OS is Ubuntu Server 14.04 and PostgreSQL 9.4. I've searched about 
> theses errors but it ways advice to change the C code in files but I'm 
> not sure to do this in a tool like pg_bulkload.
> 
> Leandro Guimarães
> 
> 
> 
> On Mon, Jun 17, 2019 at 3:56 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     On 6/17/19 10:04 AM, Leandro Guimarães wrote:
>      > Hi Adrian,
>      >
>      >     Yes, that's the problem!
>      >
>      >     I'm testing now the pg_bulkload but I'm facing some issues to
>      > install it on Postgresql 9.4.
> 
>     The issues would be?
> 
>      > Leandro Guimarães
>      >
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (16+ messages)  latest in thread

Message-ID: <73659afd-3658-0b58-9479-b34d02197da3@aklaver.com>
Permalink:  ../73659afd-3658-0b58-9479-b34d02197da3@aklaver.com/
Also on:    postgresql.org/message-id/73659afd-3658-0b58-9479-b34d02197da3@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, leo.guimaraes@gmail.com
  Subject: Re: Copy Bulk Ignore Duplicated
  In-Reply-To: <73659afd-3658-0b58-9479-b34d02197da3@aklaver.com>
  References: <CAJV35FN-pL3-oYHVDpGUM0coD0zgcF8c+xgcAu+VmUs27JyCmg@mail.gmail.com> <87o92zpzba.fsf@gmail.com> <CAJV35FPDDhgTcvtp=e_PBvjBe0+5b3+KfGHrVSzK+nuBT5+uxw@mail.gmail.com> <c426e95f-3144-410b-413c-4c6b016d7d2b@aklaver.com> <CAJV35FN428XGBeNYUf_y5YnydTG4mW2Chk1w9_fLUMd-tJaKHA@mail.gmail.com> <c051176c-3727-5fc3-fcf2-6550abe0714f@aklaver.com> <CAJV35FP03Vzw7=KhGt1AoieZSvDmZLrHUTDN=MJAYUhDYpVHRw@mail.gmail.com> <5380793b-0380-f494-c7a4-488770df3a3e@aklaver.com> <CAJV35FP_Te2Qw6_TJF7CMCp9O_sE4aOi-dfFaQBN93rcsavN4Q@mail.gmail.com> <1462f256-5c3c-ffeb-200c-3ef1ccce04dc@aklaver.com> <CAJV35FOZ+y_2ucCSmDA5Mrpx6cG3qLZRKWHxA3AzMaVP21d6SQ@mail.gmail.com> <73659afd-3658-0b58-9479-b34d02197da3@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox