On Tue, 19 Oct 2004, Alvaro Herrera wrote:

> Huh, shouldn't the user rather do
> 
> SELECT func_returning_void();

The problem is that the function may actually be a SRF so the JDBC driver
transforms to the "SELECT * FROM" form.  The JDBC driver doesn't want to
get into the business of trying to determine which function will actually
be called due to overloading complications, and prior to the introduction
of "void" it worked.  The plain select with a void returning function
seems more useful, but the JDBC driver has supported the SRF version for
some time now, so I'm worried about backwards compatibility.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to