|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | GET_PG_MAJORVERSION_NUM(v) ((v) / 10000) |
Functions | |
| uint32 | get_pg_version (const char *datadir, char **version_str) |
Definition at line 44 of file version.c.
References buf, datadir, fb(), fstat, MAXPGPATH, pg_fatal, pg_malloc(), PG_VERSION_MAX_SIZE, snprintf, and stat::st_size.
Referenced by check_data_dir(), check_data_directory(), CheckDataVersion(), and main().