• Robert Haas's avatar
    postgres_fdw: When sending ORDER BY, always include NULLS FIRST/LAST. · 3bea3f88
    Robert Haas authored
    Previously, we included NULLS FIRST when appropriate but relied on the
    default behavior to be NULLS LAST.  This is, however, not true for a
    sort in descending order and seems like a fragile assumption anyway.
    
    Report by Rajkumar Raghuwanshi.  Patch by Ashutosh Bapat.  Review
    comments from Michael Paquier and Tom Lane.
    3bea3f88
deparse.c 62 KB