From: Jeroen van Vianen <jeroenv@design.nl>
Marc G. Fournier <scrappy@hub.org>
From: Jeroen van Vianen <jeroenv@design.nl> Attached patch will add a version() function to Postges, e.g. template1=> select version(); version ------------------------------------------------------------ PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1 (1 row)
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/Makefile | modified | +6 −2 |
| src/backend/utils/adt/Makefile | modified | +2 −2 |
| src/backend/utils/adt/version.c | added | +28 −0 |
| src/configure | modified | +282 −273 |
| src/configure.in | modified | +10 −2 |
| src/include/catalog/pg_proc.h | modified | +5 −1 |
| src/include/port/linux.h | modified | +1 −2 |
| src/include/storage/s_lock.h | modified | +57 −13 |
| src/include/version.h | deleted | +0 −24 |
| src/include/version.h.in | added | +25 −0 |
| src/utils/version.c | modified | +6 −6 |