Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd0hG-0006fS-Qz for pgsql-general@arkaria.postgresql.org; Mon, 17 Jun 2019 23:05:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hd0gF-0005oZ-5N for pgsql-general@arkaria.postgresql.org; Mon, 17 Jun 2019 23:04:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd0gD-0005oS-8O for pgsql-general@lists.postgresql.org; Mon, 17 Jun 2019 23:04:50 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hd0g9-0002Jx-KQ for pgsql-general@postgresql.org; Mon, 17 Jun 2019 23:04:47 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E6C2D22138; Mon, 17 Jun 2019 19:04:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 17 Jun 2019 19:04:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=3 WNomN8nCVtjy5j4smrykAxi4TG3vOr6pa6fgcZfoj4=; b=afFXCEDAA78vRYqpq jgbCy2TfC9BmwF9p7gTzgMYPzXTrFkfltAQ/BZwCFAj+W48dyJ3bxTW8BigyWP+D PUdbdFJv0r2t8NxW4Kt24M4BUaIjT4NKsYh5E4lrc99tUxM59QkSmmczKOWV8qFv CAw2JrVLIQKKEG44f54ASarvgqfI6EPg3s8GJkR4byoXQ+mAYvCWFq2nE58Fe7Th c2WHkF5GyBjVd3cJBXCOZReP1KMi+IQjuYkq+gKtnfmAQyoHo0AXXuiAwv4O7wmW MIl2ZUkyFIRtJpsiR6ARDc2VYaBFGKITgQUqai62PfxV9ba57H/TTSG7NXq6VcCU ueNOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=3WNomN8nCVtjy5j4smrykAxi4TG3vOr6pa6fgcZfo j4=; b=0rE3cn8+jnyumK0nKyYs6dp9VyTTZinzOH7yoia4YICSBQcF6LWKJejZT TW+rGuG5c7Ui2BdNhRFOKK4Y+CIRP6ZaW05Vv1Fu5Af3PBLyHMNPC8offWVqIEJe SPiLXh2+XJVa8YZhmxpVBhBhP8e7bKhj0/H2Qde8vDE3mO8l2D6Z5iXZrekfkzeo KlFEPi/furd9xuQ3Lh3e+7ldnyIdh/7knfynVu+DvwPQjtz7Mg2ypxVQ7zWDTM/9 XdxD6FbUqSyJthBZwiXUqjWuj6LjeGLdMqPsgw0bFEAex+9NJCodFvNThBrjxW5Q BkvG3O2Cu8f4f3aty15TAcdy+fgew== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeikedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeejuddrvdduvddrudeh tddrvddtvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 1FEC28005C; Mon, 17 Jun 2019 19:04:43 -0400 (EDT) Subject: Re: Copy Bulk Ignore Duplicated To: =?UTF-8?Q?Leandro_Guimar=c3=a3es?= Cc: pgsql-general References: <87o92zpzba.fsf@gmail.com> <5380793b-0380-f494-c7a4-488770df3a3e@aklaver.com> <1462f256-5c3c-ffeb-200c-3ef1ccce04dc@aklaver.com> From: Adrian Klaver Message-ID: <73659afd-3658-0b58-9479-b34d02197da3@aklaver.com> Date: Mon, 17 Jun 2019 16:04:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 > 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 > -- Adrian Klaver adrian.klaver@aklaver.com