Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4b8539

Browse files
committed
Support for PGPRO_VERSION printing in 'all' mode. In --version mode works like vanilla pg_config, e.g. prints only VERSION value.
1 parent2dafe4a commitd4b8539

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/bin/pg_config/pg_config.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,15 @@ show_version(bool all)
380380
if (all)
381381
printf("VERSION = ");
382382
printf("PostgreSQL "PG_VERSION"\n");
383+
#ifdefPGPRO_VERSION
384+
if (all)
385+
{/*
386+
For compatibility works only in ALL mode
387+
*/
388+
printf("PGPRO_VERSION = ");
389+
printf("PostgresPro "PGPRO_VERSION"\n");
390+
}
391+
#endif
383392
}
384393

385394

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp