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

Commitc979afb

Browse files
committed
Fix PG_VERSION_NUM awk -F parameter.
1 parent2b8afe6 commitc979afb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4744,7 +4744,7 @@ fi
47444744

47454745
# Supply a numeric version string for use by 3rd party add-ons
47464746
PG_VERSION_NUM="`echo "$PACKAGE_VERSION" | sed 's/A-Za-z.*$//' |
4747-
$AWK -F'\.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
4747+
$AWK -F'.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
47484748

47494749
cat >>confdefs.h <<_ACEOF
47504750
#define PG_VERSION_NUM $PG_VERSION_NUM

‎configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.451 2006/02/2816:41:21 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.452 2006/02/2821:59:19 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -587,7 +587,7 @@ fi
587587

588588
# Supply a numeric version string for use by 3rd party add-ons
589589
PG_VERSION_NUM="`echo "$PACKAGE_VERSION" | sed 's/[A-Za-z].*$//' |
590-
$AWK -F'\.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
590+
$AWK -F'.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
591591
AC_DEFINE_UNQUOTED(PG_VERSION_NUM, $PG_VERSION_NUM, [PostgreSQL version as a number])
592592

593593
##

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp