conflict types mysql and PostgreSQL

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема conflict types mysql and PostgreSQL
Дата
Msg-id Pine.LNX.4.44.0501311504530.15722-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Список 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


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

Предыдущее
От: "Frank D. Engel, Jr."
Дата:
Сообщение: Re: Export a column in a view without "announcing" it?
Следующее
От: Marian POPESCU
Дата:
Сообщение: "Invalid multibyte character for locale" still there