Re: PostgreSQL and Performance of Functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux