From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Code not compiling since 19d5486 due to concatenate operators in macros |
Date: | 2013-10-28 08:10:46 |
Message-ID: | CAB7nPqRaeqi-dfw8xy9pXEYM6UL6LqJmTcn+BjJdqi=gqU2=Nw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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.
Regards,
--
Michael
Attachment | Content-Type | Size |
---|---|---|
20131028_pgodbc_concatenate_ops.patch | text/x-diff | 1.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2013-10-28 10:53:33 | Re: Code not compiling since 19d5486 due to concatenate operators in macros |
Previous Message | Martin J. Evans | 2013-10-04 17:01:09 | SQLGetTypeInfo does not return COLUMN_SIZE |