postgresql/src/pl/plperl
Tom Lane 785941cdc3 Tweak __attribute__-wrapping macros for better pgindent results.
This improves on commit bbfd7edae5 by
making two simple changes:

* pg_attribute_noreturn now takes parentheses, ie pg_attribute_noreturn().
Likewise pg_attribute_unused(), pg_attribute_packed().  This reduces
pgindent's tendency to misformat declarations involving them.

* attributes are now always attached to function declarations, not
definitions.  Previously some places were taking creative shortcuts,
which were not merely candidates for bad misformatting by pgindent
but often were outright wrong anyway.  (It does little good to put a
noreturn annotation where callers can't see it.)  In any case, if
we would like to believe that these macros can be used with non-gcc
compilers, we should avoid gratuitous variance in usage patterns.

I also went through and manually improved the formatting of a lot of
declarations, and got rid of excessively repetitive (and now obsolete
anyway) comments informing the reader what pg_attribute_printf is for.
2015-03-26 14:03:25 -04:00
..
expected Improve error messages for malformed array input strings. 2014-12-02 18:23:27 -05:00
po Translation updates 2015-02-01 23:23:40 -05:00
sql
.gitignore
GNUmakefile
nls.mk Translation updates 2014-12-15 00:25:35 -05:00
plc_perlboot.pl
plc_trusted.pl
plperl_helpers.h
plperl_opmask.pl
plperl--1.0.sql
plperl--unpackaged--1.0.sql
plperl.c In array_agg(), don't create a new context for every group. 2015-02-21 17:24:48 -08:00
plperl.control
plperl.h Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
plperlu--1.0.sql
plperlu--unpackaged--1.0.sql
plperlu.control
ppport.h
README
SPI.xs
text2macro.pl
Util.xs

src/pl/plperl/README

PL/Perl allows you to write PostgreSQL functions and procedures in
Perl.  To include PL/Perl in the build use './configure --with-perl'.
To build from this directory use 'make all; make install'.  libperl
must have been built as a shared library, which is usually not the
case in standard installations.

Consult the PostgreSQL User's Guide and the INSTALL file in the
top-level directory of the source distribution for more information.