Search Postgresql Archives

conflict types mysql and PostgreSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux