postgresql/contrib
Tom Lane 65da0d66b4 Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Does not work since it fetches one byte beyond the source data, and when
the phase of the moon is wrong, the source data is smack up against the
end of backend memory and you get SIGSEGV.  Don't laugh, this is a fix
for an actual user bug report.
2000-07-07 21:12:53 +00:00
..
array Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
earthdistance Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
findoidjoins Remove old README files. 2000-06-19 14:07:37 +00:00
fulltextindex Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
isbn_issn Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
linux Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
lo Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
miscutil Fix misuse of StrNCpy to copy and add null to non-null-terminated data. 2000-07-07 21:12:53 +00:00
mSQL-interface Remove old README files. 2000-06-19 14:07:37 +00:00
noupdate Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
odbc Remove old README files. 2000-06-19 14:07:37 +00:00
pg_dumplo Very small changes in the contrib's pg_dumplo in the attache. 2000-07-03 16:03:27 +00:00
pgbench Very small changes in the contrib's pg_dumplo in the attache. 2000-07-03 16:03:27 +00:00
soundex Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
spi Update textin() and textout() to new fmgr style. This is just phase 2000-07-05 23:12:09 +00:00
statmath Added CVS header 2000-07-04 14:37:32 +00:00
string Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
tips Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
tools Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
unixdate Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
userlock Makefile cleanup from Karel. 2000-07-04 16:17:21 +00:00
vacuumlo Remove old README files. 2000-06-19 14:07:37 +00:00
Contrib.index Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
Makefile Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
Makefile.global Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
README Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00

 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
-----------