Re: [BUGS] Creating server-side functions: one simple error

2002-10-11 Thread Ruslan A Dautkhanov
Tom Lane wrote: > Ruslan A Dautkhanov <[EMAIL PROTECTED]> writes: > > SPI, and I have trap again - I can't translate datetime column, which > > pass to my procedure. I must convert it to UNIX 1970-seconds counter for > > my internal needs, but I havn't found _any_ PG_GETARG_* function in fmgr.h,

Re: [BUGS] Creating server-side functions: one simple error

2002-10-11 Thread elein
This will not work if there is no EOS on the data portion of the string. Text fields are not usually stored with the EOS on them, are they? elein [EMAIL PROTECTED] On Wednesday 09 October 2002 21:14, Joe Conway wrote: > Ruslan A Dautkhanov wrote: > > Btw, how I can convert TEXT field to a CStrin

Re: [BUGS] Creating server-side functions: one simple error

2002-10-11 Thread Peter Eisentraut
Ruslan A Dautkhanov writes: > Is this mean, that PostgreSQL not C++-ready for compiling server-side > functions, doesn't it? PostgreSQL is written in C and does not claim to be compilable by a C++ compiler. That includes the header files. > Is any methods exists for compiling procedure in > C++