Start background writer during archive recovery. Background writer now performs
[PostgreSQL.git] / contrib / tablefunc / tablefunc.h
blobfc906dc3c943456fc09a48d98eff9c0cd06cd00b
1 /*
2 * $PostgreSQL$
5 * tablefunc
7 * Sample to demonstrate C functions which return setof scalar
8 * and setof composite.
9 * Joe Conway <mail@joeconway.com>
10 * And contributors:
11 * Nabil Sayegh <postgresql@e-trolley.de>
13 * Copyright (c) 2002-2009, PostgreSQL Global Development Group
15 * Permission to use, copy, modify, and distribute this software and its
16 * documentation for any purpose, without fee, and without a written agreement
17 * is hereby granted, provided that the above copyright notice and this
18 * paragraph and the following two paragraphs appear in all copies.
20 * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR
21 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
22 * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
23 * DOCUMENTATION, EVEN IF THE AUTHOR OR DISTRIBUTORS HAVE BEEN ADVISED OF THE
24 * POSSIBILITY OF SUCH DAMAGE.
26 * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
27 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
28 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
29 * ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAS NO OBLIGATIONS TO
30 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
34 #ifndef TABLEFUNC_H
35 #define TABLEFUNC_H
37 #include "fmgr.h"
40 * External declarations
42 extern Datum normal_rand(PG_FUNCTION_ARGS);
43 extern Datum crosstab(PG_FUNCTION_ARGS);
44 extern Datum crosstab_hash(PG_FUNCTION_ARGS);
45 extern Datum connectby_text(PG_FUNCTION_ARGS);
46 extern Datum connectby_text_serial(PG_FUNCTION_ARGS);
48 #endif /* TABLEFUNC_H */