From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Code not compiling since 19d5486 due to concatenate operators in macros
Date: Mon, 28 Oct 2013 12:53:33 +0200
Message-ID: <526E422D.2050604@vmware.com> (raw)
In-Reply-To: <CAB7nPqRaeqi-dfw8xy9pXEYM6UL6LqJmTcn+BjJdqi=gqU2=Nw@mail.gmail.com>
References: <CAB7nPqRaeqi-dfw8xy9pXEYM6UL6LqJmTcn+BjJdqi=gqU2=Nw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 28.10.2013 10:10, Michael Paquier wrote:
> Hi all,
> (resending patch as it looks that it was stuck in administration queue
> of this ML...)
>
> I noticed this morning that ODBC does not compile correctly since
> commit 19d5486 due to some macros using concatenate operators used
> with CORR_STRCPY and CORR_VALCPY in psqlodbc.c and connection.c.
>
> In the case of CORR_VALCPY the macro simply needs to copy a field one
> by one, and for CORR_STRCPY only a string is copied, so concatenate
> operators are not necessary IMO. Please find a patch fixing that by
> removing the unnecessary operators.
Thanks, committed to fix the build.
Hiroshi, I didn't understand the point of that change in the first
place. The old memcpy method of copying these objects seemed fine to me.
Can you elaborate?
PS. I just noticed that the email address in your git commit messages is
misspelled, "inoue@tpf.co.p". Check your .gitconfig file.
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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-odbc@postgresql.org
Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com, inoue@tpf.co.jp
Subject: Re: Code not compiling since 19d5486 due to concatenate operators in macros
In-Reply-To: <526E422D.2050604@vmware.com>
References: <CAB7nPqRaeqi-dfw8xy9pXEYM6UL6LqJmTcn+BjJdqi=gqU2=Nw@mail.gmail.com> <526E422D.2050604@vmware.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