Code

base: Include extra version information in postrr_version() output.
authorSebastian Harl <sh@tokkee.org>
Mon, 29 Oct 2012 13:41:27 +0000 (14:41 +0100)
committerSebastian Harl <sh@tokkee.org>
Mon, 29 Oct 2012 13:41:27 +0000 (14:41 +0100)
src/base.c

index f29e265836ac3114fa4d81fa2df55cfd14cc0854..992ba2376879ddfd20902ad356fee1be6b98fbe2 100644 (file)
@@ -65,7 +65,7 @@ postrr_version(PG_FUNCTION_ARGS)
        snprintf(version, sizeof(version),
                        "PostgreSQL Round-Robin Extension, version %s\n"
                        "Built against PostgreSQL version "PG_VERSION,
-                       POSTRR_VERSION_STRING);
+                       POSTRR_VERSION_STRING POSTRR_VERSION_EXTRA);
        version[sizeof(version) - 1] = '\0';
 
        result = pstrdup(version);