1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-28 11:44:57 +03:00
Files
postgres/src/backend/utils/adt/version.c
2010-01-02 16:58:17 +00:00

25 lines
551 B
C

/*-------------------------------------------------------------------------
*
* version.c
* Returns the PostgreSQL version string
*
* Copyright (c) 1998-2010, PostgreSQL Global Development Group
*
* IDENTIFICATION
*
* $PostgreSQL: pgsql/src/backend/utils/adt/version.c,v 1.19 2010/01/02 16:57:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "utils/builtins.h"
Datum
pgsql_version(PG_FUNCTION_ARGS)
{
PG_RETURN_TEXT_P(cstring_to_text(PG_VERSION_STR));
}