Skip to content

Commit 03e4739

Browse files
committed
Make contrib/cube work with flex 2.5.31. Fix it up to have a real
btree operator class, too, since in PG 7.4 you can't GROUP without one.
1 parent b38c043 commit 03e4739

File tree

9 files changed

+221
-424
lines changed

9 files changed

+221
-424
lines changed

contrib/cube/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# $Header: /cvsroot/pgsql/contrib/cube/Makefile,v 1.9 2003/05/14 03:27:21 tgl Exp $
1+
# $Header: /cvsroot/pgsql/contrib/cube/Makefile,v 1.10 2003/09/14 01:52:25 tgl Exp $
22

33
subdir = contrib/cube
44
top_builddir = ../..
55
include $(top_builddir)/src/Makefile.global
66

77
MODULE_big = cube
8-
OBJS= cube.o cubeparse.o buffer.o
8+
OBJS= cube.o cubeparse.o
99

1010
DATA_built = cube.sql
1111
DOCS = README.cube
@@ -28,7 +28,7 @@ endif
2828

2929
cubescan.c: cubescan.l
3030
ifdef FLEX
31-
$(FLEX) $(FLEXFLAGS) -Pcube_yy -o'$@' $<
31+
$(FLEX) $(FLEXFLAGS) -o'$@' $<
3232
else
3333
@$(missing) flex $< $@
3434
endif

contrib/cube/README.cube

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ Makefile building instructions for the shared library
99

1010
README.cube the file you are now reading
1111

12-
buffer.c globals and buffer access utilities shared between
13-
the parser (cubeparse.y) and the scanner (cubescan.l)
14-
15-
buffer.h function prototypes for buffer.c
16-
1712
cube.c the implementation of this data type in c
1813

1914
cube.sql.in SQL code needed to register this type with postgres

contrib/cube/buffer.c

Lines changed: 0 additions & 85 deletions
This file was deleted.

contrib/cube/buffer.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy