Aaron Bono wrote:
> I was told that, for DB2, stored procedures are a better choice for
> parameterized views which is what I was trying to do with the
> functions.  Is the same true for PostgreSQL?

That depends somewhat on the meaning of "better", but on average a view 
should be preferred if possible.  It's easier to set up, easier to 
debug, and at least as efficient.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to