summaryrefslogtreecommitdiffstats
path: root/t/foo/foo-123/foo.c
blob: 8677accc2fcdf780d1351459052d80acb5642240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "postgres.h"
#include "fmgr.h"
#include "utils/builtins.h"

PG_MODULE_MAGIC;

PG_FUNCTION_INFO_V1 (foo);

Datum
foo (PG_FUNCTION_ARGS)
{
    PG_RETURN_TEXT_P(cstring_to_text("bar"));
}