Re: [HACKERS] Problem with composite type creation in C under Linux

2011-03-02 Thread Marios Vodas
Thank you! now I understand it... On Wed, Mar 2, 2011 at 7:35 PM, Tom Lane wrote: > Marios Vodas writes: > > I have developed some custom composite and base types in PostgreSQL 9 > which > > you can find in the code I provide below. > > I compile my C library using GCC 4.5 under Linux and Visua

Re: [HACKERS] Problem with composite type creation in C under Linux

2011-03-02 Thread Tom Lane
Marios Vodas writes: > I have developed some custom composite and base types in PostgreSQL 9 which > you can find in the code I provide below. > I compile my C library using GCC 4.5 under Linux and Visual Studio 2010 > under Windows. > The problem is when I run this command: *SELECT to_composite(

[HACKERS] Problem with composite type creation in C under Linux

2011-03-02 Thread Marios Vodas
I have developed some custom composite and base types in PostgreSQL 9 which you can find in the code I provide below. I compile my C library using GCC 4.5 under Linux and Visual Studio 2010 under Windows. The problem is when I run this command: *SELECT to_composite('((1, 2), (3, 4))'::m_segment_ba