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

Commit759fba4

Browse files
committed
Included all yacc and lex files into the distribution.
1 parenta4e1304 commit759fba4

File tree

19 files changed

+823
-555
lines changed

19 files changed

+823
-555
lines changed

‎doc/src/sgml/install.sgml

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -176,67 +176,6 @@ Ftp file
176176
</Para>
177177
</Step>
178178

179-
<Step Performance="required">
180-
<Para>
181-
Some platforms use <application>flex</application>.
182-
If your system uses <application>flex</application> then make sure
183-
you have a good version. To check, type
184-
<programlisting>
185-
$ flex --version
186-
</programlisting>
187-
188-
</Para>
189-
190-
<Para>
191-
If the <application>flex</application> command is not found then you probably do not need it.
192-
If the version is 2.5.2 or 2.5.4 or greater then you are okay. If it
193-
is 2.5.3 or before 2.5.2 then you will have to upgrade <application>flex</application>. You may
194-
get it at
195-
<ulink url="ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.4.tar.gz">ftp://prep.ai.mit.edu/pub/gnu/flex-2.5.4.tar.gz</ulink>.
196-
</Para>
197-
198-
<Para>
199-
If you need <application>flex</application> and don't have it or have the wrong version, then
200-
you will be told so when you attempt to compile the program. Feel
201-
free to skip this step if you aren't sure you need it. If you do
202-
need it then you will be told to install/upgrade <application>flex</application> when you try to
203-
compile <productname>Postgres</productname>.
204-
</Para>
205-
206-
<Para>
207-
You may want to do the entire <application>flex</application> installation from
208-
the root account, though that is not absolutely necessary.
209-
Assuming that you want the installation to place files in the usual default
210-
areas, type the following:
211-
<ProgramListing>
212-
$ su -
213-
$ cd /usr/local/src
214-
ftp prep.ai.mit.edu
215-
ftp> cd /pub/gnu/
216-
ftp> binary
217-
ftp> get flex-2.5.4.tar.gz
218-
ftp> quit
219-
$ gunzip -c flex-2.5.4.tar.gz | tar xvf -
220-
$ cd flex-2.5.4
221-
$ configure --prefix=/usr
222-
$ gmake
223-
$ gmake check
224-
# You must be root when typing the next line:
225-
$ gmake install
226-
$ cd /usr/local/src
227-
$ rm -rf flex-2.5.4
228-
</ProgramListing>
229-
</Para>
230-
231-
<Para>
232-
This will update files <filename>/usr/man/man1/flex.1</filename>,
233-
<filename>/usr/bin/flex</filename>,
234-
<filename>/usr/lib/libfl.a</filename>,
235-
<filename>/usr/include/FlexLexer.h</filename> and will add a link
236-
<filename>/usr/bin/flex++</filename> which points to flex.
237-
</Para>
238-
</Step>
239-
240179
<Step Performance="required">
241180
<Para>
242181
If you are not upgrading an existing system then skip to

‎src/GNUmakefile.in

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.47 2000/01/09 07:53:52 tgl Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/GNUmakefile.in,v 1.48 2000/01/16 20:04:51 petere Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -24,7 +24,6 @@ ETAGS = @etags@
2424
XARGS = @xargs@
2525

2626
all:
27-
$(MAKE) lexverify
2827
$(MAKE) -C utils all
2928
$(MAKE) -C backend all
3029
$(MAKE) -C interfaces all
@@ -35,27 +34,14 @@ all:
3534
fi
3635

3736
install:
38-
$(MAKE) lexverify
3937
$(MAKE) -C utils install
4038
$(MAKE) -C backend install
4139
$(MAKE) -C interfaces install
4240
$(MAKE) -C bin install
4341
$(MAKE) -C pl install
4442
cat ../register.txt
4543

46-
lexverify:
47-
$(MAKE) -C lextest all
48-
@if test ! -f lextest/lextest; then \
49-
echo "";\
50-
echo "You have a buggy version of flex. Read INSTALL and search for flex for a fix.";\
51-
echo "";\
52-
false;\
53-
else \
54-
true;\
55-
fi
56-
5744
clean:
58-
$(MAKE) -C lextest clean
5945
$(MAKE) -C utils clean
6046
$(MAKE) -C backend clean
6147
$(MAKE) -C interfaces clean
@@ -108,7 +94,6 @@ distclean: clean
10894
test/regress/GNUmakefile
10995

11096
.DEFAULT:
111-
$(MAKE) -C lextest $@
11297
$(MAKE) -C utils $@
11398
$(MAKE) -C backend $@
11499
$(MAKE) -C interfaces $@

‎src/backend/bootstrap/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the bootstrap module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.19 1999/12/1616:52:46 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.20 2000/01/1620:04:53 petere Exp $
88
#
99
#
1010
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -68,7 +68,7 @@ bootscanner.c: bootscanner.l
6868
rm -f lex.yy.c sedfile
6969

7070
clean:
71-
rm -f SUBSYS.o$(OBJS) bootparse.c bootstrap_tokens.h bootscanner.c
71+
rm -f SUBSYS.o$(OBJS)
7272
# And the garbage that might have been left behind by partial build:
7373
rm -f y.tab.h y.tab.c y.output lex.yy.c
7474

‎src/backend/catalog/aclchk.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.34 2000/01/15 02:59:28 petere Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.35 2000/01/16 20:04:54 petere Exp $
1111
*
1212
* NOTES
1313
* See acl.h.
@@ -444,8 +444,8 @@ pg_aclcheck(char *relname, char *usename, AclMode mode)
444444
}
445445

446446
int32
447-
pg_ownercheck(char*usename,
448-
char*value,
447+
pg_ownercheck(constchar*usename,
448+
constchar*value,
449449
intcacheid)
450450
{
451451
HeapTupletuple;

‎src/backend/catalog/catalog.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.27 2000/01/15 02:59:28 petere Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.28 2000/01/16 20:04:54 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,7 +26,7 @@
2626
*Perhaps this should be in-line code in relopen().
2727
*/
2828
char*
29-
relpath(char*relname)
29+
relpath(constchar*relname)
3030
{
3131
char*path;
3232
size_tbufsize=0;
@@ -52,7 +52,7 @@ relpath(char *relname)
5252
*XXX this is way bogus. -- pma
5353
*/
5454
bool
55-
IsSystemRelationName(char*relname)
55+
IsSystemRelationName(constchar*relname)
5656
{
5757
if (relname[0]&&relname[1]&&relname[2])
5858
return (relname[0]=='p'&&
@@ -67,7 +67,7 @@ IsSystemRelationName(char *relname)
6767
*True iff name is the name of a shared system catalog relation.
6868
*/
6969
bool
70-
IsSharedSystemRelationName(char*relname)
70+
IsSharedSystemRelationName(constchar*relname)
7171
{
7272
inti;
7373

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp