• Tom Lane's avatar
    Make CREATE TYPE print warnings if a datatype's I/O functions are volatile. · 465d7e18
    Tom Lane authored
    This is a followup to commit 43ac12c6,
    which added regression tests checking that I/O functions of built-in
    types are not marked volatile.  Complaining in CREATE TYPE should push
    developers of add-on types to fix any misdeclared functions in their
    types.  It's just a warning not an error, to avoid creating upgrade
    problems for what might be just cosmetic mis-markings.
    
    Aside from adding the warning code, fix a number of types that were
    sloppily created in the regression tests.
    465d7e18
create_function_1.source 2.03 KB