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

cube.c

  • Tom Lane's avatar
    81ee726d
    Code and docs review for cube kNN support. · 81ee726d
    Tom Lane authored
    Commit 33bd250f could have done with
    some more review:
    
    Adjust coding so that compilers unfamiliar with elog/ereport don't complain
    about uninitialized values.
    
    Fix misuse of PG_GETARG_INT16 to retrieve arguments declared as "integer"
    at the SQL level.  (This was evidently copied from cube_ll_coord and
    cube_ur_coord, but those were wrong too.)
    
    Fix non-style-guide-conforming error messages.
    
    Fix underparenthesized if statements, which pgindent would have made a
    hash of, and remove some unnecessary parens elsewhere.
    
    Run pgindent over new code.
    
    Revise documentation: repeated accretion of more operators without any
    rethinking of the text already there had left things in a bit of a mess.
    Merge all the cube operators into one table and adjust surrounding text
    appropriately.
    
    David Rowley and Tom Lane
    81ee726d
    History
    Code and docs review for cube kNN support.
    Tom Lane authored
    Commit 33bd250f could have done with
    some more review:
    
    Adjust coding so that compilers unfamiliar with elog/ereport don't complain
    about uninitialized values.
    
    Fix misuse of PG_GETARG_INT16 to retrieve arguments declared as "integer"
    at the SQL level.  (This was evidently copied from cube_ll_coord and
    cube_ur_coord, but those were wrong too.)
    
    Fix non-style-guide-conforming error messages.
    
    Fix underparenthesized if statements, which pgindent would have made a
    hash of, and remove some unnecessary parens elsewhere.
    
    Run pgindent over new code.
    
    Revise documentation: repeated accretion of more operators without any
    rethinking of the text already there had left things in a bit of a mess.
    Merge all the cube operators into one table and adjust surrounding text
    appropriately.
    
    David Rowley and Tom Lane