You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by zt...@apache.org on 2022/10/16 06:25:19 UTC

[hawq] branch master updated: HAWQ-1849. tag gpfdist --version as SQL version()

This is an automated email from the ASF dual-hosted git repository.

ztao1987 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git


The following commit(s) were added to refs/heads/master by this push:
     new 10112af51 HAWQ-1849. tag gpfdist --version as SQL version()
10112af51 is described below

commit 10112af517f84588a5a47456e62b723e15be6572
Author: ztao1987 <zh...@gmail.com>
AuthorDate: Sun Oct 16 14:24:48 2022 +0800

    HAWQ-1849. tag gpfdist --version as SQL version()
---
 src/bin/gpfdist/src/gpfdist/gpfdist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/gpfdist/src/gpfdist/gpfdist.c b/src/bin/gpfdist/src/gpfdist/gpfdist.c
index 91492c329..89f089d9b 100644
--- a/src/bin/gpfdist/src/gpfdist/gpfdist.c
+++ b/src/bin/gpfdist/src/gpfdist/gpfdist.c
@@ -550,7 +550,7 @@ static void usage_error(const char* msg, int print_usage) {
 }
 
 static void print_version(void) {
-  printf("gpfdist version \"%s\"\n", GP_VERSION);
+  printf("gpfdist version \"%s\"\n", PG_VERSION_STR);
   exit(0);
 }