1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00
2011-01-01 13:18:15 -05:00

25 lines
491 B
C

/*-------------------------------------------------------------------------
*
* version.c
* Returns the PostgreSQL version string
*
* Copyright (c) 1998-2011, PostgreSQL Global Development Group
*
* IDENTIFICATION
*
* src/backend/utils/adt/version.c
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "utils/builtins.h"
Datum
pgsql_version(PG_FUNCTION_ARGS)
{
PG_RETURN_TEXT_P(cstring_to_text(PG_VERSION_STR));
}