• Tom Lane's avatar
    Remove the "opaque" pseudo-type and associated compatibility hacks. · bb03010b
    Tom Lane authored
    A long time ago, it was necessary to declare datatype I/O functions,
    triggers, and language handler support functions in a very type-unsafe
    way involving a single pseudo-type "opaque".  We got rid of those
    conventions in 7.3, but there was still support in various places to
    automatically convert such functions to the modern declaration style,
    to be able to transparently re-load dumps from pre-7.3 servers.
    It seems unnecessary to continue to support that anymore, so take out
    the hacks; whereupon the "opaque" pseudo-type itself is no longer
    needed and can be dropped.
    
    This is part of a group of patches removing various server-side kluges
    for transparently upgrading pre-8.0 dump files.  Since we've had few
    complaints about dropping pg_dump's support for dumping from pre-8.0
    servers (commit 64f3524e), it seems okay to now remove these kluges.
    
    Discussion: https://postgr.es/m/4110.1583255415@sss.pgh.pa.us
    bb03010b
trigger.c 177 KB