1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00
Files
postgres/src/backend/utils/adt/version.c
Bruce Momjian c8e1ba736b Update copyright for 2023
Backpatch-through: 11
2023-01-02 15:00:37 -05:00

25 lines
491 B
C

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