mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 18:39:42 +02:00
4baaf863ec
Backpatch certain files through 9.0
25 lines
491 B
C
25 lines
491 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* version.c
|
|
* Returns the PostgreSQL version string
|
|
*
|
|
* Copyright (c) 1998-2015, 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));
|
|
}
|