"Francisco Figueiredo Jr." <[EMAIL PROTECTED]> writes:
> I just wanted void functions behave like others when called as select * 
> from voidfunction  So I dont have to do select voidfunction. :)

It's not only void functions that fail --- I believe the code will
reject any pseudo-type, which includes several things:

regression=# select typname from pg_type where typtype = 'p';
     typname
------------------
 record
 cstring
 any
 anyarray
 void
 trigger
 language_handler
 internal
 opaque
 anyelement
(10 rows)

regression=#

Some of these might be safe to allow, but some clearly are not.

                        regards, tom lane

---------------------------(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