Project

General

Profile

« Previous | Next » 

Revision 8328

schemas/util.sql: mk_subset_by_row_num_func(): subset function which turns off enable_sort: Fixed bug where need to pass ($2, $3) instead of ($1, $2) to the regular subset function

View differences:

schemas/util.sql
861 861
  SET enable_sort TO 'off'
862 862
  AS
863 863
$BODY1$
864
SELECT * FROM $$||util.type_qual_name(view_::text::regtype)||$$($1, $2)
864
SELECT * FROM $$||util.type_qual_name(view_::text::regtype)||$$($2, $3)
865 865
$BODY1$
866 866
  LANGUAGE sql STABLE
867 867
  COST 100

Also available in: Unified diff