Logo Search packages:      
Sourcecode: postgresql-8.4 version File versions

version.c

/*-------------------------------------------------------------------------
 *
 * version.c
 *     Returns the PostgreSQL version string
 *
 * Copyright (c) 1998-2009, PostgreSQL Global Development Group
 *
 * IDENTIFICATION
 *
 * $PostgreSQL$
 *
 *-------------------------------------------------------------------------
 */

#include "postgres.h"

#include "utils/builtins.h"


Datum
pgsql_version(PG_FUNCTION_ARGS)
{
      PG_RETURN_TEXT_P(cstring_to_text(PG_VERSION_STR));
}

Generated by  Doxygen 1.6.0   Back to index