
Remove a bunch of "extern Datum foo(PG_FUNCTION_ARGS);" declarations that are no longer needed now that PG_FUNCTION_INFO_V1(foo) provides that. Some of these were evidently missed in commit e7128e8dbb305059, but others were cargo-culted in in code added since then. Possibly that can be blamed in part on the fact that we'd not fixed relevant documentation examples, which I've now done.
src/tutorial/README tutorial ======== This directory contains SQL tutorial scripts. To look at them, first do a % make to compile all the scripts and C files for the user-defined functions and types. (make needs to be GNU make --- it may be named something different on your system, often 'gmake') Then, run psql with the -s (single-step) flag: % psql -s From within psql, you can try each individual script file by using psql's \i <filename> command.