On 2015/11/10 0:56, Robert Haas wrote: > On Sat, Nov 7, 2015 at 12:07 PM, Corey Huinker <corey.huin...@gmail.com> > wrote: >> Sorry to barge in late, but I was wondering if what we've learned with this >> patch can be applied to the case of asserting a sort order on a query >> returning from dblink(). > > Nope. > > Sorry to the bearer of bad news, but that would be a different and > much harder development project. Set-returning functions have no way > to indicate anything about the ordering of their return values at > present. We could invent something, but the work involved wouldn't > have much to do with this patch.
There was a patch (which, it seems, was rejected [1]) to do this sort of thing. Thanks, Amit [1] https://commitfest.postgresql.org/4/88/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers