Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

parse_clause.c

Blame
    • Thomas G. Lockhart's avatar
      7665e7b0
      Allows the following query to succeed: "SELECT NULL ORDER BY 1;" · 7665e7b0
      Thomas G. Lockhart authored
      There are three or four cases in transformSortClause() and I had fixed
      only one case for UNION. A second case is now fixed, in the same way; I
      assigned INT4OID to the column type for the "won't actually happen"
      sort. Didn't want to skip the code entirely, since the backend needs to
      _try_ a sort to get the NULLs right. I'm not certain under what
      circumstances the other cases are invoked and these are not yet
      fixed up, though perhaps they don't need to be...
      7665e7b0
      History
      Allows the following query to succeed: "SELECT NULL ORDER BY 1;"
      Thomas G. Lockhart authored
      There are three or four cases in transformSortClause() and I had fixed
      only one case for UNION. A second case is now fixed, in the same way; I
      assigned INT4OID to the column type for the "won't actually happen"
      sort. Didn't want to skip the code entirely, since the backend needs to
      _try_ a sort to get the NULLs right. I'm not certain under what
      circumstances the other cases are invoked and these are not yet
      fixed up, though perhaps they don't need to be...