1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-10 09:21:54 +03:00
Files
postgres/src/backend/utils/adt/version.c
Bruce Momjian 7e04792a1c Update copyright for 2014
Update all files in head, and files COPYRIGHT and legal.sgml in all back
branches.
2014-01-07 16:05:30 -05:00

25 lines
491 B
C

/*-------------------------------------------------------------------------
*
* version.c
* Returns the PostgreSQL version string
*
* Copyright (c) 1998-2014, 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));
}