You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/contrib
Tom Lane 87cdaf5491 Remove <values.h> inclusions, no-longer-needed MAXINT definitions. 25 years ago
..
array Arrays are toastable. (At least if you initdb, which I didn't force.) 26 years ago
earthdistance Another round of those unportable config/build changes :-/ 26 years ago
findoidjoins Another round of those unportable config/build changes :-/ 26 years ago
fulltextindex Another round of those unportable config/build changes :-/ 26 years ago
isbn_issn Another round of those unportable config/build changes :-/ 26 years ago
linux Another round of those unportable config/build changes :-/ 26 years ago
lo Another round of those unportable config/build changes :-/ 26 years ago
mSQL-interface Another round of those unportable config/build changes :-/ 26 years ago
miscutil Another round of those unportable config/build changes :-/ 26 years ago
noupdate Another round of those unportable config/build changes :-/ 26 years ago
odbc Remove <values.h> inclusions, no-longer-needed MAXINT definitions. 25 years ago
pg_dumplo Another round of those unportable config/build changes :-/ 26 years ago
pgbench Remove a bunch of unused configure tests, in particular cases where 26 years ago
soundex Another round of those unportable config/build changes :-/ 26 years ago
spi Another round of those unportable config/build changes :-/ 26 years ago
string Another round of those unportable config/build changes :-/ 26 years ago
tips Another round of those unportable config/build changes :-/ 26 years ago
tools Another round of those unportable config/build changes :-/ 26 years ago
unixdate Another round of those unportable config/build changes :-/ 26 years ago
userlock Another round of those unportable config/build changes :-/ 26 years ago
vacuumlo Another round of those unportable config/build changes :-/ 26 years ago
Contrib.index Update to /contrib from Karel. 26 years ago
Makefile Automatic dependency tracking 26 years ago
README Update to /contrib from Karel. 26 years ago

README


The PostgreSQL contrib tree
~~~~~~~~~~~~~~~~~~~~~~~~~~~

FIXME:
odbc
spi/preprocessor
tools

- the contrib contain is in the "Contrib.index"

- in each directory must be Makefile, possible Makefile template
is below this text,

--------
#
# $Header: /cvsroot/pgsql/contrib/README,v 1.19 2000/06/19 13:52:59 momjian Exp $
#

TOPDIR=../..

include ../Makefile.global

NAME = some_name

PROGRAM =
OBJS = $(NAME).o
DOCS = $(NAME).doc
SQLS = $(NAME).sql
BINS =
EXAMPLES=
MODS = $(NAME)$(DLSUFFIX)

CFLAGS += -I. $(CFLAGS_SL)

OTHER_CLEAN = $(SQLS)

all: $(MODS) $(SQLS)

%.sql: %.sql.in
$(SED) "s|MODULE_PATHNAME|$(CONTRIB_MODDIR)/$@|" < $< > $@


install: install_doc install_sql install_mod install_bin install_example

install_doc:
for inst_file in $(DOCS); do \
$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
done

install_sql:
for inst_file in $(SQLS); do \
$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_SQLDIR); \
done

install_mod:
for inst_file in $(MODS); do \
$(INSTALL) $(INSTL_SHLIB_OPTS) $$inst_file $(CONTRIB_MODDIR); \
done

install_bin:
for inst_file in $(BINS); do \
$(INSTALL) $(INSTL_EXE_OPTS) $$inst_file $(CONTRIB_BINDIR); \
done

install_example:
for inst_file in $(EXAMPLES); do \
$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_EXAMPLESDIR); \
done

depend dep:
$(CC) -MM -MG $(CFLAGS) *.c > depend

clean:
$(RM) *~ $(OBJS) $(MODS) $(PROGRAM) depend $(OTHER_CLEAN) core log

ifeq (depend,$(wildcard depend))
include depend
endif
-----------