conflict types mysql and PostgreSQL

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: pgsql-general(at)postgresql(dot)org
Subject: conflict types mysql and PostgreSQL
Date: 2005-01-31 14:09:46
Message-ID: Pine.LNX.4.44.0501311504530.15722-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I started work on "light" version dblink for mysql. I have problems: I
can't use header files mysql and postgresql together.

/usr/local/include/mysql/my_list.h:32: error: conflicting types for
`list_delete'
/usr/local/pgsql/include/server/nodes/pg_list.h:210: error: previous
declaration of `list_delete'
/usr/local/include/mysql/my_list.h:35: error: conflicting types for
`list_free'
/usr/local/pgsql/include/server/nodes/pg_list.h:227: error: previous
declaration of `list_free'
/usr/local/include/mysql/my_list.h:36: error: conflicting types for
`list_length'
/usr/local/pgsql/include/server/nodes/pg_list.h:93: error: previous
declaration of `list_length'

I know only one solution. Use small library, and comunicate with mysql via
this library. Do You know better solution?

Thank You
Pavel Stehule

Browse pgsql-general by date

  From Date Subject
Next Message Marian POPESCU 2005-01-31 14:22:39 "Invalid multibyte character for locale" still there
Previous Message Frank D. Engel, Jr. 2005-01-31 14:08:21 Re: Export a column in a view without "announcing" it?