- Apr 18, 2014
-
-
Peter Eisentraut authored
Because of gcc -Wmissing-prototypes, all functions in dynamically loadable modules must have a separate prototype declaration. This is meant to detect global functions that are not declared in header files, but in cases where the function is called via dfmgr, this is redundant. Besides filling up space with boilerplate, this is a frequent source of compiler warnings in extension modules. We can fix that by creating the function prototype as part of the PG_FUNCTION_INFO_V1 macro, which such modules have to use anyway. That makes the code of modules cleaner, because there is one less place where the entry points have to be listed, and creates an additional check that functions have the right prototype. Remove now redundant prototypes from contrib and other modules.
-
- Aug 27, 2011
-
-
Bruce Momjian authored
remove from local *.h files. Per suggestion from Alvaro.
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Jun 11, 2009
-
-
Bruce Momjian authored
provided by Andrew.
-
- May 17, 2008
-
-
Andrew Dunstan authored
This particular batch was just for *.c and *.h file. The changes were made with the following 2 commands: find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *' find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
-
- May 31, 2006
-
-
Tom Lane authored
in every shared library.
-
- Aug 29, 2004
-
-
Bruce Momjian authored
-
- May 28, 2004
-
-
Teodor Sigaev authored
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
-
- Feb 19, 2003
-
-
Bruce Momjian authored
(7.3 and current CVS) with support of int8, float4, float8 in addition to int4. Thanks Janko Richter for contribution. Oleg Bartunov
-
- Sep 04, 2002
-
-
Bruce Momjian authored
-
- Feb 22, 2002
-
-
Bruce Momjian authored
Please, apply attached patch of contrib/btree_gist to 7.2.1 and current cvs. The patch fixes memory leak during creation GiST index on timestamp column. Thank you. -- Teodor Sigaev teodor@stack.net
-
- Nov 05, 2001
-
-
Bruce Momjian authored
initdb/regression tests pass.
-
- Oct 28, 2001
-
-
Bruce Momjian authored
spacing. Also adds space for one-line comments.
-
- Oct 25, 2001
-
-
Bruce Momjian authored
tests pass.
-
- Aug 23, 2001
-
-
Tom Lane authored
interval arithmetic. From Teodor Sigaev.
-
- Aug 22, 2001
-
-
Tom Lane authored
From Oleg Bartunov and Teodor Sigaev.
-