Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

version.c File Reference

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

Go to the source code of this file.

Functions

Datum pgsql_version (PG_FUNCTION_ARGS)

Function Documentation

Datum pgsql_version ( PG_FUNCTION_ARGS   ) 

Definition at line 21 of file version.c.

References cstring_to_text(), and PG_RETURN_TEXT_P.

{
    PG_RETURN_TEXT_P(cstring_to_text(PG_VERSION_STR));
}