Re: Re[8]: SPI_getvalue problem - Mailing list pgsql-general

From Tom Lane
Subject Re: Re[8]: SPI_getvalue problem
Date
Msg-id 24557.980782875@sss.pgh.pa.us
Whole thread Raw
In response to Re[8]: SPI_getvalue problem  (Alex Guryanow <gav@nlr.ru>)
List pgsql-general
Alex Guryanow <gav@nlr.ru> writes:
> What should I do to be able to compile my function using g++?

I think you should forget about it and use gcc :-(

> Should I make changes in c.h to define bool as int and then rebuild
> backend? Or this is a bad idea?

Very bad.  bool has to be 1 byte, unless you care to indulge in
delicate surgery on a bunch of system catalogs.

            regards, tom lane

pgsql-general by date:

Previous
From: Alex Guryanow
Date:
Subject: Re[8]: SPI_getvalue problem
Next
From: "Steven Lacroix"
Date:
Subject: Could not send query to backend