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
e6e78187
Commit
e6e78187
authored
Mar 17, 2007
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvc build actually needs Bison 2.2 or later, not 2.1. Or 1.875 as before.
parent
15f4842d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
doc/src/sgml/install-win32.sgml
doc/src/sgml/install-win32.sgml
+3
-3
src/tools/msvc/pgbison.bat
src/tools/msvc/pgbison.bat
+5
-3
No files found.
doc/src/sgml/install-win32.sgml
View file @
e6e78187
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
3 2007/03/17 14:30:00
mha Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.3
4 2007/03/17 17:11:41
mha Exp $ -->
<chapter id="install-win32">
<title>Installation on <productname>Windows</productname></title>
...
...
@@ -100,8 +100,8 @@
<productname>Flex</productname></term>
<listitem><para>
Bison and Flex are required to build from CVS, but not required when
building from a release file. Note that
Bison version 2.0 will not
work, but both earlier and later versions do
. Bison and Flex can be
building from a release file. Note that
only Bison 1.875 or versions
2.2 and later will work
. Bison and Flex can be
downloaded from <ulink url="http://gnuwin32.sourceforge.net"></>.
</para></listitem>
</varlistentry>
...
...
src/tools/msvc/pgbison.bat
View file @
e6e78187
@echo
off
REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.
5 2007/03/17 14:01:0
1 mha Exp $
REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.
6 2007/03/17 17:11:4
1 mha Exp $
if
exist
src
\tools\msvc\buildenv.bat
call
src
\tools\msvc\buildenv.bat
SET
BV
=
for
/F
"tokens=4 usebackq"
%%f
in
(
`bison -V`
)
do
if
"
!BV!
"
==
""
SET
BV
=
%%f
if
"
%BV%
"
==
""
goto
novarexp
if
%BV%
LSS
1
.875
goto
nobison
if
%BV%
EQU
2
.1
goto
nobison
if
%BV%
EQU
1
.875
goto
bisonok
if
%BV%
GEQ
2
.2
goto
bisonok
goto
nobison
:bisonok
if
"
%
1"
==
"src\backend\parser\gram.y"
call
:generate
%
1
src
\backend\parser\gram.c
src
\include\parser\parse.h
if
"
%
1"
==
"src\backend\bootstrap\bootparse.y"
call
:generate
%
1
src
\backend\bootstrap\bootparse.c
src
\backend\bootstrap\bootstrap_tokens.h
...
...
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