1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add pgench: a TPC-B like benchmarking tool

This commit is contained in:
Tatsuo Ishii
2000-01-15 12:38:09 +00:00
parent bfbd58ce13
commit a765db409b
5 changed files with 1079 additions and 0 deletions

23
contrib/pgbench/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.1 2000/01/15 12:38:09 ishii Exp $
SRCDIR= ../../src
include $(SRCDIR)/Makefile.global
CFLAGS:= -I$(LIBPQDIR) $(CFLAGS)
TARGET = pgbench
OBJS = pgbench.o
all:: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $(TARGET) $(OBJS) -L$(LIBPQDIR) -lpq $(LDFLAGS)
install: $(TARGET)
$(INSTALL) $(INSTL_EXE_OPTS) $(TARGET)$(X) $(BINDIR)/$(TARGET)$(X)
clean:
$(RM) $(TARGET)$(X) $(OBJS)
distclean: clean