Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c979afb7
Commit
c979afb7
authored
Feb 28, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PG_VERSION_NUM awk -F parameter.
parent
2b8afe61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
configure
configure
+1
-1
configure.in
configure.in
+2
-2
No files found.
configure
View file @
c979afb7
...
...
@@ -4744,7 +4744,7 @@ fi
# Supply a numeric version string for use by 3rd party add-ons
PG_VERSION_NUM
=
"
`
echo
"
$PACKAGE_VERSION
"
|
sed
's/A-Za-z.*$//'
|
$AWK
-F
'
\
.'
'{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'
`
"
$AWK
-F
'.'
'{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'
`
"
cat
>>
confdefs.h
<<
_ACEOF
#define PG_VERSION_NUM
$PG_VERSION_NUM
...
...
configure.in
View file @
c979afb7
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.45
1 2006/02/28 16:41:21
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.45
2 2006/02/28 21:59:19
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -587,7 +587,7 @@ fi
# Supply a numeric version string for use by 3rd party add-ons
PG_VERSION_NUM="`echo "$PACKAGE_VERSION" | sed 's/[A-Za-z].*$//' |
$AWK -F'
\
.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
$AWK -F'.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
AC_DEFINE_UNQUOTED(PG_VERSION_NUM, $PG_VERSION_NUM, [PostgreSQL version as a number])
##
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment