Re: Copy Bulk Ignore Duplicated

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Leandro Guimarães <leo(dot)guimaraes(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Copy Bulk Ignore Duplicated
Date: 2019-06-17 23:04:42
Message-ID: 73659afd-3658-0b58-9479-b34d02197da3@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-06-17 23:24:43 Re: psql UPDATE field [tab] expands to DEFAULT?
Previous Message Ken Tanzer 2019-06-17 22:03:11 psql UPDATE field [tab] expands to DEFAULT?