ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
build_id.c File Reference

The build of the ProvSQL library: provsql.build_id(). More...

#include "postgres.h"
#include "fmgr.h"
#include "utils/builtins.h"
#include "build_id.h"
Include dependency graph for build_id.c:

Go to the source code of this file.

Functions

Datum build_id (PG_FUNCTION_ARGS)
 SQL entry point: the build of the loaded library, as text.

Detailed Description

The build of the ProvSQL library: provsql.build_id().

The extension's version (1.13.0-dev, say) is the same for every build of a development cycle. What tells two builds apart is the commit they were built from, which the Makefile writes into build_id.h: the output of "git describe –tags –always –dirty", or unknown outside a git checkout (a source archive).

Definition in file build_id.c.

Function Documentation

◆ build_id()

Datum build_id ( PG_FUNCTION_ARGS )

SQL entry point: the build of the loaded library, as text.

Definition at line 19 of file build_id.c.