• Alvaro Herrera's avatar
    Fix the BY {REF,VALUE} clause of XMLEXISTS/XMLTABLE · eaaa5986
    Alvaro Herrera authored
    This clause is used to indicate the passing mode of a XML document, but
    we were doing it wrong: we accepted BY REF and ignored it, and rejected
    BY VALUE as a syntax error.  The reality, however, is that documents are
    always passed BY VALUE, so rejecting that clause was silly.  Change
    things so that we accept BY VALUE.
    
    BY REF continues to be accepted, and continues to be ignored.
    
    Author: Chapman Flack
    Reviewed-by: Pavel Stehule
    Discussion: https://postgr.es/m/5C297BB7.9070509@anastigmatix.net
    eaaa5986
func.sgml 769 KB