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

src

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    to a UNION, CASE, or related construct are of the same domain type.  The
    main part of this routine smashes domains to their base types, which seems
    necessary because the logic involves TypeCategory() and IsPreferredType(),
    neither of which work usefully on domains.  However, we can add a first
    pass that just detects whether all the inputs are exactly the same type,
    and if so accept that without question (so long as it's not UNKNOWN).
    Per recent gripe from Dean Rasheed.
    
    In passing, remove some tests for InvalidOid, which have clearly been dead
    code for quite some time now, because getBaseType() would fail on that input.
    
    Also, clarify the manual's not-very-precise description of the existing
    algorithm's behavior.
    07daff63
    History
    Name Last commit Last update
    ..
    FAQ
    sgml
    Makefile