Files
postgresql/src
Tom Lane 5433b48380 Tweak sorting so that nulls appear at the front of a descending sort
(vs. at the end of a normal sort).  This ensures that explicit sorts
yield the same ordering as a btree index scan.  To be really sure that
that equivalence holds, we use the btree entries in pg_amop to decide
whether we are looking at a '<' or '>' operator.  For a sort operator
that has no btree association, we put the nulls at the front if the
operator is named '>' ... pretty grotty, but it does the right thing in
simple ASC and DESC cases, and at least there's no possibility of getting
a different answer depending on the plan type chosen.
2001-06-02 19:01:53 +00:00
..
2001-06-02 18:25:18 +00:00
2001-03-22 04:01:46 +00:00
2001-03-22 04:01:46 +00:00
1999-07-30 03:45:57 +00:00
2001-06-02 18:25:18 +00:00
Hi!
2000-01-18 19:05:31 +00:00