Re: Copy Bulk Ignore Duplicated

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Copy Bulk Ignore Duplicated
Дата
Msg-id 73659afd-3658-0b58-9479-b34d02197da3@aklaver.com
обсуждение исходный текст
Ответ на Re: Copy Bulk Ignore Duplicated  (Leandro Guimarães <leo.guimaraes@gmail.com>)
Список 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.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



В списке pgsql-general по дате отправления:

Предыдущее
От: Ken Tanzer
Дата:
Сообщение: psql UPDATE field [tab] expands to DEFAULT?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: psql UPDATE field [tab] expands to DEFAULT?