Dave Potts wrote > I have a psql function that make a general sql query, returns a set of > results > Q. Is there anyway that I can limit the size of the result sets ? SELECT * FROM somewhere LIMIT 50; <--- David J. btw: what is a "psql function"? -- View this message in context: http://postgresql.nabble.com/returning-only-part-of-a-rule-set-tp5828217p5828218.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general