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

postgres-lambda-diff

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    Commit 716ea626 attempted to fix the problem of building 1-D zero-size
    arrays once and for all.  But it turns out that contrib/intarray has some
    code that doesn't use construct_array() but just builds arrays by hand,
    so it didn't get the memo.  This appears to affect all of subarray(),
    intset_subtract(), inner_int_union(), inner_int_inter(), and
    intarray_concat_arrays().
    
    Back-patch into v11.  In the past we've not back-patched this type of
    change, but since v11 is still in beta it seems all right to include
    this fix in it.  Besides it's more consistent to make the fix in v11
    where 716ea626 appeared.
    
    Report and patch by Alexey Kryuchkov, some cosmetic adjustments by me
    
    Report: https://postgr.es/m/153053285112.13258.434620894305716755@wrigleys.postgresql.org
    Discussion: https://postgr.es/m/CAN85JcYphDLYt4CpMDLZjjNVqGDrFJ5eS3YF=wLAhFoDQuBsyg@mail.gmail.com
    01783ac3
    History
    Name Last commit Last update