[sr-dev] db_postgres/sqlops support of no return values

Henning Westerholt henning.westerholt at 1und1.de
Mon Oct 11 17:13:34 CEST 2010


On Sunday 10 October 2010, Alex Balashov wrote:
> Is it difficult to make db_postgres and/or sqlops support no values
> returned - i.e. a void result set?
> 
> Recent versions of Postgres allow stored procedures to return 'void'.
> I like to call these a lot, but unfortunately sqlops or the database
> layer does not like that.  So, I have to either write wrappers or make
> the procedures return things like a boolean 't' just to fix this.

Hi Alex,

i assume that you refer to the version 1 of the internal DB API, as you 
mentioned sqlops. Maybe the internal function of postgres return some status 
that previously were only emitted in an error condition. 

Can you share some more details what exactly is not working for you? Do you 
get an error message or something like this?

Viele Grüße,

Henning



More information about the sr-dev mailing list