On Wed, Jan 22, 2003 at 16:12:52 +0100, Ries van Twisk <[EMAIL PROTECTED]> wrote: > Dear PostgreSQL users, > > I understand that when a frontend accesses a VIEW that PostgreSQL cannot use > a index on that view. > For example when I do this: SELECT * FROM full_cablelist WHERE > projectocode=5; Correct?
For the most part views work like macros for selects and indexes should be usable. You can test this yourself using EXPLAIN to compare plans both using and not using a view on a table. ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])