PostgreSQL Source Code git master
|
#include "postgres.h"
#include "access/table.h"
#include "commands/copy.h"
#include "fmgr.h"
#include "utils/rel.h"
Go to the source code of this file.
Functions | |
static void | to_cb (void *data, int len) |
PG_FUNCTION_INFO_V1 (test_copy_to_callback) | |
Datum | test_copy_to_callback (PG_FUNCTION_ARGS) |
Variables | |
PG_MODULE_MAGIC | |
PG_FUNCTION_INFO_V1 | ( | test_copy_to_callback | ) |
Datum test_copy_to_callback | ( | PG_FUNCTION_ARGS | ) |
Definition at line 34 of file test_copy_callbacks.c.
References AccessShareLock, BeginCopyTo(), DoCopyTo(), EndCopyTo(), ereport, errmsg(), NIL, NoLock, NOTICE, PG_GETARG_OID, PG_RETURN_VOID, RelationGetRelid, table_close(), table_open(), and to_cb().
|
static |
Definition at line 25 of file test_copy_callbacks.c.
References data, ereport, errmsg(), len, and NOTICE.
Referenced by test_copy_to_callback().
PG_MODULE_MAGIC |
Definition at line 22 of file test_copy_callbacks.c.