tdbc::postgres

Check-in [55a85ab4fd]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:merge fixes to work with tcl/pkgs system
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:55a85ab4fd5caaf5c034dec7c625200a2f531944
User & Date: dgp 2012-07-17 12:39:44
Context
2012-07-17
14:03
[Bug 3544932]: Visual studio compiler check fails check-in: f909bb0342 user: jan.nijtmans tags: trunk
12:39
merge fixes to work with tcl/pkgs system check-in: 55a85ab4fd user: dgp tags: trunk
2012-07-13
02:22
Make tdbc::mysql functional tests refuse to run unless the user explicitly sets a TDBCMYSQL_TEST_DB environment variable designating a test database. check-in: 42e4a081dc user: kennykb tags: trunk
2012-07-11
22:50
merge trunk Closed-Leaf check-in: 471e44bf6a user: jan.nijtmans tags: bundle-fix
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tdbc/Makefile.in.

189
190
191
192
193
194
195

196
197
198
199
200
201
202
...
382
383
384
385
386
387
388

389
390
391
392
393
394
395
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: $(BINARIES)


libraries:

#========================================================================
# Your doc target should differentiate from doc builds (by the developer)
# and doc installs (see install-doc), which just install the docs on the
# end user machine when building from source.
................................................................................
# variable in configure.in
#========================================================================

clean:  
	-test -z "$(BINARIES)" || rm -f $(BINARIES)
	-rm -f *.$(OBJEXT) core *.core
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)


distclean: clean
	-rm -f *.tab.c
	-rm -f $(CONFIGURE_OUTPUTS)

#========================================================================
# Install binary object libraries.  On Windows this includes both .dll and







>







 







>







189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
...
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: $(BINARIES)
	cp -p $(srcdir)/library/tdbc.tcl $(top_builddir)

libraries:

#========================================================================
# Your doc target should differentiate from doc builds (by the developer)
# and doc installs (see install-doc), which just install the docs on the
# end user machine when building from source.
................................................................................
# variable in configure.in
#========================================================================

clean:  
	-test -z "$(BINARIES)" || rm -f $(BINARIES)
	-rm -f *.$(OBJEXT) core *.core
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
	-rm -f tdbc.tcl

distclean: clean
	-rm -f *.tab.c
	-rm -f $(CONFIGURE_OUTPUTS)

#========================================================================
# Install binary object libraries.  On Windows this includes both .dll and

Changes to tdbcpostgres/Makefile.in.

221
222
223
224
225
226
227

228
229
230
231
232
233
234
235
236
237
238
239
...
314
315
316
317
318
319
320


321
322
323
324
325
326
327
328
329
330
331
332
333
334
# Install documentation.  Unix manpages should go in the $(mandir)
# directory.
#========================================================================

install-doc: doc
	@$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann
	@echo "Installing documentation in $(DESTDIR)$(mandir)"

	@list='$(srcdir)/doc/*.n'; for i in $$list; do \
	    echo "Installing $$i"; \
	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
	done

test: binaries libraries
	$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::postgres $(PACKAGE_VERSION) \
			[list source `@CYGPATH@ $(srcdir)/library/tdbcpostgres.tcl`]\;[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"

shell: binaries libraries
................................................................................
	chmod +x $(DIST_DIR)/tclconfig/install-sh

#   Not written yet!
#	mkdir $(DIST_DIR)/doc
#	cp -p $(srcdir)/doc/tdbc_postgres.n $(DIST_DIR)/doc/

	mkdir $(DIST_DIR)/generic


	cp -p $(srcdir)/generic/tdbcpostgres.c $(DIST_DIR)/generic/

	mkdir $(DIST_DIR)/library
	cp -p $(srcdir)/library/tdbcpostgres.tcl $(DIST_DIR)/library/

	mkdir $(DIST_DIR)/tests
	cp -p $(srcdir)/tests/all.tcl $(srcdir)/tests/postgres.test \
		$(DIST_DIR)/tests/

	(cd $(DIST_ROOT); $(COMPRESS);)

#========================================================================
# How to rebuild the package's stub table.
#========================================================================







>
|
|
|
|
|







 







>
>
|





|







221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
...
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
# Install documentation.  Unix manpages should go in the $(mandir)
# directory.
#========================================================================

install-doc: doc
	@$(INSTALL_DATA_DIR) $(DESTDIR)$(mandir)/mann
	@echo "Installing documentation in $(DESTDIR)$(mandir)"
#   Not written yet!
#	@list='$(srcdir)/doc/*.n'; for i in $$list; do \
#	    echo "Installing $$i"; \
#	    rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
#	    $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
#	done

test: binaries libraries
	$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) \
		-load "package ifneeded tdbc::postgres $(PACKAGE_VERSION) \
			[list source `@CYGPATH@ $(srcdir)/library/tdbcpostgres.tcl`]\;[list load `@CYGPATH@ $(PKG_LIB_FILE)` $(PACKAGE_NAME)]"

shell: binaries libraries
................................................................................
	chmod +x $(DIST_DIR)/tclconfig/install-sh

#   Not written yet!
#	mkdir $(DIST_DIR)/doc
#	cp -p $(srcdir)/doc/tdbc_postgres.n $(DIST_DIR)/doc/

	mkdir $(DIST_DIR)/generic
	cp -p $(srcdir)/generic/fakepq.h $(srcdir)/generic/pqStubDefs.txt \
		$(srcdir)/generic/pqStubInit.c $(srcdir)/generic/pqStubs.h \
		$(srcdir)/generic/tdbcpostgres.c $(DIST_DIR)/generic/

	mkdir $(DIST_DIR)/library
	cp -p $(srcdir)/library/tdbcpostgres.tcl $(DIST_DIR)/library/

	mkdir $(DIST_DIR)/tests
	cp -p $(srcdir)/tests/all.tcl $(srcdir)/tests/tdbcpostgres.test \
		$(DIST_DIR)/tests/

	(cd $(DIST_ROOT); $(COMPRESS);)

#========================================================================
# How to rebuild the package's stub table.
#========================================================================

Changes to tdbcsqlite3/Makefile.in.

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
includedir	= @includedir@
datarootdir     = @datarootdir@
datadir		= @datadir@
mandir		= @mandir@

DESTDIR		=

PKG_DIR		= $(PACKAGE_NAME)$(PACKAGE_VERSION)
pkgdatadir	= $(datadir)/$(PKG_DIR)
pkglibdir	= $(libdir)/$(PKG_DIR)
pkgincludedir	= $(includedir)/$(PKG_DIR)
tmdir		= $(libdir)/tcl$(TCL_MAJOR_VERSION)/$(TCL_VERSION)
pkgslash	= `echo $(PACKAGE_NAME) | sed s=tdbc=tdbc/=`
pkgtmdir	= $(tmdir)/tdbc
pkgtmfile	= $(tmdir)/$(pkgslash)-$(PACKAGE_VERSION).tm







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
includedir	= @includedir@
datarootdir     = @datarootdir@
datadir		= @datadir@
mandir		= @mandir@

DESTDIR		=

PKG_DIR		= $(PACKAGE_NAME)-$(PACKAGE_VERSION)
pkgdatadir	= $(datadir)/$(PKG_DIR)
pkglibdir	= $(libdir)/$(PKG_DIR)
pkgincludedir	= $(includedir)/$(PKG_DIR)
tmdir		= $(libdir)/tcl$(TCL_MAJOR_VERSION)/$(TCL_VERSION)
pkgslash	= `echo $(PACKAGE_NAME) | sed s=tdbc=tdbc/=`
pkgtmdir	= $(tmdir)/tdbc
pkgtmfile	= $(tmdir)/$(pkgslash)-$(PACKAGE_VERSION).tm