PostgreSQL Source Code git master
Loading...
Searching...
No Matches
test_ext.c
Go to the documentation of this file.
1/*
2 * test_ext.c
3 *
4 * Dummy C extension for testing extension_control_path with pg_upgrade
5 *
6 * Portions Copyright (c) 2026, PostgreSQL Global Development Group
7 */
8#include "postgres.h"
9
10#include "fmgr.h"
11
13
15
18{
20 (errmsg("running successful")));
22}
#define NOTICE
Definition elog.h:35
#define ereport(elevel,...)
Definition elog.h:150
#define PG_RETURN_VOID()
Definition fmgr.h:350
#define PG_FUNCTION_INFO_V1(funcname)
Definition fmgr.h:417
#define PG_FUNCTION_ARGS
Definition fmgr.h:193
static char * errmsg
uint64_t Datum
Definition postgres.h:70
PG_MODULE_MAGIC
Definition test_ext.c:12
Datum test_ext(PG_FUNCTION_ARGS)
Definition test_ext.c:17