Commit Graph

3973 Commits

Author SHA1 Message Date
Tom Lane
47ea32f7d4 Mention --without-CXX option in online help. 1998-10-30 22:36:00 +00:00
Tom Lane
54789138bd Behave reasonably on a system without shared libraries. 1998-10-30 15:05:23 +00:00
Marc G. Fournier
4283089d07 Okay, this shoudl provide a fix for the freebsd problem...
Added a ELF_SYS variable and check to configure.in...
1998-10-30 04:54:06 +00:00
Tom Lane
c6338530f6 oid8neq => oid8ne 1998-10-29 19:03:50 +00:00
Tom Lane
a91c019c06 Drat. Should test a few more cases before committing. 1998-10-29 18:15:28 +00:00
Thomas G. Lockhart
485a71a4ce Add tests for comparison operators. 1998-10-29 18:13:03 +00:00
Thomas G. Lockhart
d9a2be00ec Fix regression test now that code seems to work.
Add tests for comparison operators.
1998-10-29 18:12:50 +00:00
Thomas G. Lockhart
396571d79c Very minor cleanup of no-op code. 1998-10-29 18:11:28 +00:00
Thomas G. Lockhart
9b24e7fa40 Fix discrepency in "@" operator for point and path. 1998-10-29 18:10:23 +00:00
Bruce Momjian
1e7c7343c4 Add oid8neq. 1998-10-29 18:07:09 +00:00
Tom Lane
1145d007bf Run autoconf. 1998-10-29 17:58:21 +00:00
Tom Lane
579b72c5de Run AC_PROG_GCC_TRADITIONAL only when running AC_PROG_CC,
ie, not when user specifies --with-CC.  This corrects a scripting error
that I'm surprised hasn't been reported more often.  Moving the macro call
to the earlier point in the script is correct anyway: if -traditional is needed,
it should get added to CFLAGS before we start using the compiler for
other tests.
1998-10-29 17:57:52 +00:00
Tom Lane
9e38dcfd43 Re-fix test for negative-integer return code that should be
testing for null-pointer return code...
1998-10-29 16:13:07 +00:00
Bruce Momjian
374d9a1f2b D'Arcy INET fix. 1998-10-29 04:41:44 +00:00
Tom Lane
94e37a30da I suspect that there is no longer a need for a platform-
specific version of this result, now that tintervals actually sort
correctly.  We can always add it back if NetBSD really is different.
1998-10-29 04:32:57 +00:00
Tom Lane
99d3e27112 Update tinterval test to have correctly sorted results,
now that bugs in pg_operator that caused wrongly sorted results have
been corrected (I hope ... it works here, anyway).
1998-10-29 04:29:12 +00:00
Tom Lane
478d460f3b Add new regression test to catch some simple kinds of
mistakes in creating pg_operator table.  NOTE: right now, this will
fail because of conflicting definitions for point @ path operator.
I trust we're gonna fix that.
1998-10-29 04:27:11 +00:00
Tom Lane
de43a5e1bd Add new regression test to catch some simple kinds of
mistakes in creating pg_operator table.
1998-10-29 04:25:23 +00:00
Tom Lane
4038dc0ee2 Fix a veritable boatload of errors in oprcom, oprnegate,
oprlsortop and oprrsortop links.  There's still a bug involving
conflicting definitions for point @ path, but I'm not taking
responsibility for deciding which one is right...
1998-10-29 04:22:52 +00:00
Bruce Momjian
cec42339fc Remove bad pg_operator entry, found by Tom Lane. 1998-10-29 04:04:17 +00:00
Tom Lane
8acc682552 Autoconf... 1998-10-28 19:40:08 +00:00
Tom Lane
6ff52d303f Remove unreliable test for how to do cpp from stdin. 1998-10-28 19:39:33 +00:00
Tom Lane
a787b88e3c Eliminate need for cpp-from-stdin by using a temp file. 1998-10-28 19:38:47 +00:00
Tom Lane
1f27facc90 Add ORDER BY to ensure platform-independent results in rules test. 1998-10-28 19:32:43 +00:00
Thomas G. Lockhart
571d121664 Fix macro declarations to allow disabling mylog() and qlog() on Unix boxes.
Fix spelling of "DIRSEPARATOR".
1998-10-28 17:09:22 +00:00
Bruce Momjian
f4ccb5e170 Make these file generated in distribution. 1998-10-28 17:07:17 +00:00
Bruce Momjian
53b8ea58d3 Fix for serial creation. 1998-10-28 16:06:54 +00:00
Bruce Momjian
1adacc7d1e This looks like a wrong entry in one of the system tables. Any ideas
which one it is, and how to correct this ?

lseg_eq -> lseq_neq

Guido Weber
1998-10-28 16:00:08 +00:00
Bruce Momjian
e3b06a871b s_lock aix patch. 1998-10-28 15:58:34 +00:00
Marc G. Fournier
e6556e7365 Updated "expected" regression output for Solaris-Sparc 1998-10-28 14:47:54 +00:00
Thomas G. Lockhart
20a034d5bd Include appropriate flags for resolved shared library LDFLAGS_ODBC
to allow ODBC library to be linked.
1998-10-28 06:49:10 +00:00
Bruce Momjian
8386c8145c Reverse out addition of snprintf. 1998-10-28 02:57:59 +00:00
Tom Lane
997966061e Fix missing dependency for Makefile inclusions.
Get rid of some stray tabs that might confuse Make.
1998-10-27 21:51:54 +00:00
Tom Lane
9f39b9a15b Detect lack of permission to install into Perl module library,
and emit informative message instead of aborting the Postgres install.
1998-10-27 21:27:36 +00:00
Thomas G. Lockhart
695453738a Add new inet/cidr regression test.
All regression tests pass on Linux/i686 with the current source tree.
1998-10-27 19:34:18 +00:00
Bruce Momjian
0ebb238035 backslash for portability, from Andreas Zeugswetter 1998-10-27 17:47:51 +00:00
Marc G. Fournier
82a9c9cf38 Missed one more required file... 1998-10-27 04:42:59 +00:00
Marc G. Fournier
8107299d5e Don't forget to create the dynloader files... 1998-10-27 04:41:29 +00:00
Marc G. Fournier
208cb8b279 Oops, don't forget to get rid ofthe -Bforcearchive option altogether... 1998-10-27 04:32:53 +00:00
Marc G. Fournier
949953060a Starting with v3.0 of FreeBSD, we are now an elf system, and dont' have a
-Bforcearchive flag for ld...

Give FreeBSD its own special Makefile to get around the "bug"
1998-10-27 04:32:02 +00:00
Bruce Momjian
7825f9b890 Fix for tprintf overruns from Göran Thyni. 1998-10-27 03:26:48 +00:00
Tom Lane
990fa43c23 Get rid of some minor compiler warnings. 1998-10-26 01:05:07 +00:00
Tom Lane
0bdf46a37f Fix some actual bugs exposed by compiler warnings.
(Someone forgot whether their subroutine signaled errors by a NULL pointer
return value, or a negative integer... I'm surprised gcc -Wall doesn't
catch this...)
1998-10-26 01:03:24 +00:00
Tom Lane
3d87216ab9 Get rid of some minor compiler warnings.
(HP's cc doesn't like if you forward-declare a routine static,
and then don't make it static in the actual definition...)
1998-10-26 01:00:13 +00:00
Tom Lane
0852fbbb55 Compiler options not spelled quite right... 1998-10-26 00:57:33 +00:00
Tom Lane
51239ba51e Run autoconf 1998-10-26 00:56:47 +00:00
Tom Lane
c719a82683 Fix cpp-from-stdin detection so that it works even if the
compiler silently accepts an empty command line.
Don't bother searching for bison and yacc unless we are going to use them.
1998-10-26 00:56:16 +00:00
Bruce Momjian
d79f3884f4 cleanup 1998-10-25 02:48:55 +00:00
Bruce Momjian
ba74ce73bb Fix from Tom Lane for pg_shadow in pg_upgrade 1998-10-25 02:47:38 +00:00
Tom Lane
29317100ae Update README to reflect the fact that you don't have to
run the regression tests with a special postmaster TZ setting anymore.
Correct a few typos too.
1998-10-24 22:21:12 +00:00
Tom Lane
a7cdfdf022 Fix pg_upgrade to notice if psql fails to execute the given
script, and not proceed with the update if so.
Also add #!/bin/sh header line.
1998-10-24 20:09:46 +00:00
Bruce Momjian
ba63dcd6a6 Put back string instead of string.h in libpq++. 1998-10-23 21:54:56 +00:00
Bruce Momjian
54fd5f6cc4 Fix from Jan for vacuum statistics loss. 1998-10-23 16:49:24 +00:00
Bruce Momjian
3037aace73 Change string to string.h in libpq++. BSDI 3.0 complains. 1998-10-23 16:11:14 +00:00
Bruce Momjian
1115162c84 rename file. 1998-10-23 02:56:13 +00:00
Bruce Momjian
e7cbcf23c4 autoconf 1998-10-23 02:52:09 +00:00
Bruce Momjian
759b17f0f6 Fix for version guessing in configure. 1998-10-23 02:49:17 +00:00
Bruce Momjian
aeb277c405 Update for bsdi 3.0. 1998-10-23 01:02:10 +00:00
Bruce Momjian
33c4072dbc INET/CIDR cleanup from D'Arcy. 1998-10-22 20:40:50 +00:00
Bruce Momjian
002657f7ed Add LIMIT syntax for Jan. 1998-10-22 13:52:24 +00:00
Bruce Momjian
ca2995be7b Remove duplicate CIDR funcs by using coerce entries. 1998-10-22 13:51:07 +00:00
Bruce Momjian
9ac0c1e371 CIDR/INET fixes from D'Arcy. 1998-10-22 13:16:27 +00:00
Bruce Momjian
7787d75d78 Fix indexing for INET / CIDR. 1998-10-22 05:29:24 +00:00
Bruce Momjian
3fe6a77f91 Fix for funcs on INET/CIDR. 1998-10-22 04:58:11 +00:00
Bruce Momjian
2ba4ee74aa Fix function calls to INET/CIDR functions. Added cidr_out. 1998-10-22 00:35:28 +00:00
Bruce Momjian
f9ee08499f Cleanup of \df for INET/CIDR. 1998-10-21 21:14:20 +00:00
Bruce Momjian
524f4b2d10 The patch does 2 things:
Fixes  a  bug  in  the rule system that caused a crashing
        backend when a join-view with calculated column  is  used
        in subselect.

        Modifies  EXPLAIN to explain rewritten queries instead of
        the plain SeqScan on a view. Rules can produce very  deep
MORE

Jan.
1998-10-21 16:21:29 +00:00
Bruce Momjian
858a3b570a New CIDR type and fixed INET type, from D'Arcy. 1998-10-21 16:06:50 +00:00
Thomas G. Lockhart
56f96f56df Include new Makefile.shlib from top level
when constructing standalone tarball.
1998-10-21 05:39:19 +00:00
Thomas G. Lockhart
09128223be Arbitrary addition of a comment line to get ownership of file in the
cvs tree. Am trying to fix the permissions to allow file execution,
 since I had damaged the permissions when transferring in with ftp.
1998-10-21 05:23:36 +00:00
Bruce Momjian
89f01cd92f Add RIP notice for Paul. 1998-10-21 04:25:25 +00:00
Bruce Momjian
f8042120b6 INET fix from D'Arcy. 1998-10-21 02:48:22 +00:00
Bruce Momjian
a824add49a Remove unused INET functions for D'Arcy. 1998-10-20 23:03:20 +00:00
Bruce Momjian
d7fc00c20d Fix for rules system from Jan. 1998-10-20 17:21:44 +00:00
Tom Lane
6d98d3737a Centralized shared-library build knowledge in a new file,
src/Makefile.shlib.  Updated all the makefiles that try to build shlibs
to include that file instead of having duplicate (and mostly incomplete)
copies of shared-library options.  It works on HPUX, a lot better than it
did before in fact, but there's a chance I broke some other platforms.
At least now you only have to fix one place not six...
1998-10-19 00:00:51 +00:00
Bruce Momjian
6e13e0c684 cleanup of keywords.c 1998-10-18 23:30:17 +00:00
Bruce Momjian
07ed634c18 Resort keywords for Jan. 1998-10-18 23:29:27 +00:00
Tom Lane
acdf3c25f9 run autoconf 1998-10-18 19:42:31 +00:00
Tom Lane
e1942f5b9e Clean up shared makefile install procedures.
Get the permissions right, don't overwrite real files with symlinks, etc.
plpgsql and odbc still aren't fully up to speed, but at least they don't crash and burn...
1998-10-18 19:41:00 +00:00
Tom Lane
14f4ca009c run autoconf 1998-10-18 19:16:50 +00:00
Tom Lane
f0f1b628e3 Use AC_CONFIG_HEADER as documented by Autoconf manual: call it
only once at the top of the file.  I'm surprised include/config.h wasn't
being overwritten from interfaces/odbc/config.h.in ...
1998-10-18 19:16:09 +00:00
Bruce Momjian
a00dcabc6e autoconf 1998-10-18 04:19:05 +00:00
Bruce Momjian
f49cf6d094 The TCL/TK configuration cleanup patches I submitted have the following
problem:

    'tclsh' still had to be found even if --with-libs (or
--with-libraries) was
    specified to configure.

    --with-libs is really an overloaded option.  It really should only be used
    to specify additions directories to search in order to file needed
    libraries.  It was also being used to locate the *Config.sh files.

Billy G. Allie
1998-10-18 04:16:08 +00:00
Tom Lane
8ccf86bf32 Still another round of Perl-module installation tweaks.
Now, src/interfaces/perl5/Makefile.PL is pretty simple, and instead we
work a little harder in src/interfaces/Makefile.
1998-10-18 02:36:48 +00:00
Tom Lane
164510289e Still another round of Perl-module installation tweaks.
This time, src/interfaces/perl5/Makefile.PL no longer needs to be autoconf'd.
1998-10-18 02:34:34 +00:00
Tom Lane
f2ca34dfb3 Add code to pltcl's Makefile to cope with the situation where
libtcl has been installed as a non-shared library.  pltcl cannot be
built in that situation; we want to do nothing and let the overall Postgres
build complete, rather than failing.
1998-10-17 23:33:23 +00:00
Bruce Momjian
71a5da47d2 Disable inet. 1998-10-17 04:08:40 +00:00
Bruce Momjian
0c430306fe Re-enable inet code. 1998-10-17 03:59:14 +00:00
Bruce Momjian
f4389d5262 Fix for GNUmakefile and distclean. 1998-10-17 03:49:59 +00:00
Bruce Momjian
8333387dec Fix for GNUmakefile. 1998-10-17 03:48:54 +00:00
Bruce Momjian
4aa8376505 Remove Makefile.PL. 1998-10-17 03:37:04 +00:00
Bruce Momjian
2bb38b5e2d Fix for GNUmakefile and stupid cruft I forgot in there. 1998-10-17 02:36:13 +00:00
Bruce Momjian
af8df21b7e Add missing tcl *.in files. 1998-10-16 17:00:44 +00:00
Bruce Momjian
f731abe635 interfaces/Makefile fix. 1998-10-16 15:31:04 +00:00
Bruce Momjian
8fa2742ddf The problem is that read_pg_options needs DataDir to read its file but
DataDir is set after read_pg_options if postgres is called
interactively.  If postgres is forked by postgres DataDir is read from
the PGDATA enviromnent variable set by the postmaster and this explains
while the bug disappears.  I have written this patch but I don't like
it. Any better idea?

Massimo Dal Zotto
1998-10-16 06:05:18 +00:00
Bruce Momjian
9f69aa0831 add missing file for perl. 1998-10-16 05:58:22 +00:00
Bruce Momjian
7483856772 autoconf 1998-10-16 04:46:37 +00:00
Bruce Momjian
06edbafd4b Here's a patch. It also includes the latest parser changes.
Michael
1998-10-16 04:40:39 +00:00
Bruce Momjian
baa2f9998c Perl fixes from Brook Milligan 1998-10-16 04:37:38 +00:00
Bruce Momjian
e7663e34b8 LAtest cvs has a little bug in src/interfaces/ecpg/lib/Makefile.in
$(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho typename.sho.o

must be
        $(LD) $(LDFLAGS_SL) -o $@ ecpglib.sho.o typename.sho.o
                                             ^^

        Regards,

        Oleg
1998-10-15 16:17:33 +00:00
Bruce Momjian
3f20878791 autoconf 1998-10-15 16:01:45 +00:00
Bruce Momjian
01cdd04731 TCL/TK fixes from Billy G. Allie. 1998-10-15 15:58:16 +00:00
Bruce Momjian
31bca4540e I have included a couple of patches that will make postgres
compile out of the tar file on Solaris with the SUN 5.0 compilers.
These compilers will be needed if you wan to compile the libpg++
interface without using the gcc/g++. The SC4.2 compilers do not
understand the string class.

The first patch changes the ecpg intermediate shared library
name from *.sho to *.sho.o so that the SUN compiler will
allow it to be used in conjunction with the -o option.

Matthew C. Aycock
1998-10-14 17:59:22 +00:00
Thomas G. Lockhart
9b895d0658 Clean up library names and installation paths.
Include soft links in the installation directory for major version number.
Use the existing $(DLSUFFIX) parameter to name shared library.
1998-10-14 16:13:03 +00:00
Thomas G. Lockhart
bbf4dae028 Remove $(DESTDIR) as a path prefix. $(POSTGRESDIR) is sufficient now. 1998-10-14 16:09:32 +00:00
Thomas G. Lockhart
624eb9ee24 Allow auto-detection of cpp and required flags. 1998-10-14 16:06:14 +00:00
Thomas G. Lockhart
b48edd74d1 Make genbki.sh a configureable shell program to allow auto-detection
of the proper cpp program.
1998-10-14 16:05:01 +00:00
Thomas G. Lockhart
fe6d19f15f Add Taral's test for flags required by the detected cpp program to read
from stdin. Necessary at least for systems missing cpp but having gcc -E.
Include new configured file backend/catalog/genbki.sh.
1998-10-14 16:02:11 +00:00
Thomas G. Lockhart
56792f3729 Allow TIMESTAMP as a column name or general identifier.
timestamp had become a token a while ago, but had been omitted from the
 keywords.c until recently. This uncovered the omission in the ColId decl.
1998-10-14 15:57:25 +00:00
Tom Lane
acc9c38471 Fix another memory leak in pg_select --- pointed out by teo@flex.ro 1998-10-14 15:17:51 +00:00
Bruce Momjian
aa3a1f46df New PGQUERY_LIMIT environment variable, and doc changes. 1998-10-14 05:31:50 +00:00
Bruce Momjian
8cec4cf91b New QUERY_LIMIT set command. 1998-10-14 05:10:12 +00:00
Bruce Momjian
39f2ec55d7 No more pgintro. 1998-10-14 02:54:39 +00:00
Bruce Momjian
103959a3df No more pgbuiltin. 1998-10-14 02:36:45 +00:00
Marc G. Fournier
f9649012d3 Updated regression.diffs file for Solaris x86... 1998-10-13 22:42:43 +00:00
Marc G. Fournier
4fff1dada7 From: Peter Gucwa <pg@softcomputer.com>
Here are patches needed to complie under AIX 4.2.
I changed configure.in, pqcomm.c, config.h.in, and fe-connect.c.
Also I had to install flex because lex did not want to translate pgc.l.
1998-10-13 20:44:49 +00:00
Marc G. Fournier
5dc94a1b5a New regression results for Solaris-Sparc 2.6 w/ gcc 2.8.1 1998-10-13 20:37:20 +00:00
Marc G. Fournier
6edea913be This is plain wrong, but check to see if DataDir was set *before* running
read_pg_options ... read_pg_options should probably be moved to after the
getopt() instead?
1998-10-13 20:05:44 +00:00
Marc G. Fournier
37f90d82ab case statement in select call was missing a break... 1998-10-13 19:51:50 +00:00
Marc G. Fournier
cd3a8e232c change configure so that if postgresql isn't being installed as root,
do not configure in the perl5 interface.

the perl5 interface needs to be installed under /usr/local/lib/perl5/*, which
is generally owned by root.  This allows a non-root build/install with the
only root requirement being the make/install of hte perl5 stuff...
1998-10-13 17:26:50 +00:00
Bruce Momjian
8c586b2a2a auytoconf 1998-10-13 16:34:01 +00:00
Bruce Momjian
ecf145f492 Remove TCL_LIB,TCL_INCDIR,TK_LIB,TK_INCDIR. 1998-10-13 16:30:49 +00:00
Marc G. Fournier
97f5547297 Remove the -soname ${SHLIB} from solaris_{sparc,x86} as they conflict
with the -o $@ used in the ${SHLIB} directive, causing a failure for
*at least* gcc2.8.1 + Solaris 2.6 under both hardware platforms...
1998-10-13 14:12:22 +00:00
Bruce Momjian
fbcda7b4a7 autoconf 1998-10-12 19:56:24 +00:00
Bruce Momjian
e33a23fccd TCL_LIB/TCL_INCDIR cleanup. 1998-10-12 19:47:25 +00:00
Bruce Momjian
882158a4db TCL_LIB. 1998-10-12 19:45:03 +00:00
Bruce Momjian
a643d97f29 Fix for inet from Tom H. 1998-10-12 15:56:34 +00:00
Bruce Momjian
5d79f26e5b No more TCL_LIB> 1998-10-12 15:01:40 +00:00
Bruce Momjian
af7e03997b autoconf 1998-10-12 14:44:46 +00:00
Bruce Momjian
c94323d1f5 Fix for Solaris/i386. 1998-10-12 14:41:45 +00:00
Bruce Momjian
b1f3293b8b Fix for version.c warning. 1998-10-12 05:09:55 +00:00
Bruce Momjian
7d6eee24da distclean fixup 1998-10-12 05:07:53 +00:00
Bruce Momjian
c743b8cecd Add mklang.sh.in to plpgsql. 1998-10-12 04:55:03 +00:00
Bruce Momjian
0f78649ccc Cleanup from Billy. 1998-10-12 04:45:22 +00:00
Bruce Momjian
2facf5460f TCL_LIB, TCL_INC not used. 1998-10-12 04:40:48 +00:00
Bruce Momjian
d2d919f7b7 tcl cleanup. 1998-10-12 04:32:24 +00:00
Bruce Momjian
51fd8dd36a autoconf 1998-10-12 04:11:03 +00:00
Bruce Momjian
eb3e640ea2 New INET functions from D'Arcy J.M. Cain 1998-10-12 04:07:53 +00:00
Bruce Momjian
03ab5f0174 This patch updates the ImageViewer example to use Multiple Threading.
When importing an image into the database, the example now fires off a
new
Thread, which imports the image in the background. This also means that
the application doesn't freeze on the user, and they can still browse
the
images in the database, while the upload is running.

This now makes the ImageViewer a true example on how to use Threads (the
threadtest class is just that - a test).

Peter
1998-10-12 02:45:45 +00:00
Bruce Momjian
d32c89bbb8 plpgsql fixes from Billy G. Allie 1998-10-12 02:44:10 +00:00
Bruce Momjian
4c64bb7d97 add new file. 1998-10-12 02:42:22 +00:00
Bruce Momjian
7a9312b422 Tcl fixes from Billy G. Allie 1998-10-12 02:41:01 +00:00
Bruce Momjian
b0dfc47794 2) Can't dump/restore varchar fields (See attached bug report/patch)
Cary B. O'Brien
1998-10-12 02:05:42 +00:00
Bruce Momjian
8a7bec3d45 autoconf 1998-10-12 02:01:41 +00:00
Bruce Momjian
0453f4d0f2 Cleanup. 1998-10-12 01:58:14 +00:00
Bruce Momjian
377b5fa3a4 Fix for inet_net_pton() from Tom. 1998-10-12 01:30:26 +00:00
Bruce Momjian
e48623ce87 More Solaris fixes. 1998-10-12 01:23:29 +00:00
Bruce Momjian
e16634386a Add SVr4 shared libraries. 1998-10-12 01:10:09 +00:00
Bruce Momjian
66f893f3fe Solaris shared library fixes. 1998-10-12 01:04:02 +00:00
Bruce Momjian
beac8c1c46 Fix for vacuum and cache use. Fix for BSDI 4.0. 1998-10-12 00:53:42 +00:00
Thomas G. Lockhart
03cb232a1f Move documentation to sgml sources, so remove man page installation. 1998-10-10 17:08:11 +00:00
Thomas G. Lockhart
f5da9422be Move documentation to sgml sources. 1998-10-10 17:07:16 +00:00
Bruce Momjian
6799af7d80 Reverse out vacuum change. 1998-10-09 21:31:34 +00:00
Bruce Momjian
2ac3173d75 major/minor shared name cleanup 1998-10-09 21:28:50 +00:00
Bruce Momjian
878f9dbb66 autoconf 1998-10-09 17:34:57 +00:00
Bruce Momjian
ada4cfce29 configure cleanup 1998-10-09 17:31:39 +00:00
Bruce Momjian
edcf5a7eba autoconf 1998-10-09 16:59:43 +00:00
Bruce Momjian
40703f282a There where a few more problems fixed by the patch below.
o configure.in

Jan.
1998-10-09 16:57:10 +00:00
Bruce Momjian
1483456418 Fix for version() string overwrite. 1998-10-09 16:42:32 +00:00
Thomas G. Lockhart
d12d4c78e5 Add wildcard asterisk to the UNLISTEN syntax. 1998-10-09 07:06:37 +00:00
Thomas G. Lockhart
4c9239173a Changes to support standalone installation. 1998-10-09 07:04:53 +00:00
Thomas G. Lockhart
25f90202f7 Adjustments for standalone and integrated ODBC. 1998-10-09 07:01:26 +00:00
Bruce Momjian
a8428c9e3f More bsdi 4.0 cleanups for shared libraries. 1998-10-09 04:50:12 +00:00
Bruce Momjian
765dd1b3f2 More bsdi 4.0 fixes. 1998-10-09 04:22:49 +00:00
Bruce Momjian
4b86cabcb4 Cleanup of distclean. 1998-10-09 04:07:49 +00:00
Bruce Momjian
af45dab6d7 Fix for BSDI shared libraries. 1998-10-09 03:08:00 +00:00
Bruce Momjian
76392f8cc4 Autoconf 1998-10-09 00:51:50 +00:00
Bruce Momjian
db882f6a18 Cleanup of pl files. 1998-10-09 00:41:28 +00:00
Tom Lane
5524a85172 Clean up minor gcc warning about lack of reset_r_plans prototype. 1998-10-08 23:50:28 +00:00
Bruce Momjian
23815260a3 I have had a few problems with the PL stuff recently committed. The
following patches fix the problems (i.e., all regression tests pass)
in what I hope to be a platform-independent fashion.  The accomplish
the following:

Brook Milligan
1998-10-08 23:45:19 +00:00
Tom Lane
60fee725b8 Do not enable TCL_ARRAYS feature by default, because it
is wrong and dangerous unless you are using contrib/string.  We really
need a thorough look at the issue of making the backend and the FE/BE
protocols completely 8-bit-clean for string data, but that's a task
for some future release.
1998-10-08 23:31:20 +00:00
Bruce Momjian
2133276ecc Update to pgaccess 0.90. 1998-10-08 22:50:20 +00:00
Bruce Momjian
681343ab6c No need compile command/version.c anymore. 1998-10-08 18:37:14 +00:00
Bruce Momjian
173c555948 Make functions static or ifdef NOT_USED. Prevent pg_version creation. 1998-10-08 18:30:52 +00:00
Bruce Momjian
deaaf96975 Fix for INET type addition. 1998-10-08 02:08:47 +00:00
Tom Lane
af5d6b4ef6 I'm too short of time to make these man pages look like the
newly-updated SGML reference pages, so I just inserted a comment that they
are obsolete.  If you want to transcribe the newer info into these pages,
be my guest.
1998-10-08 01:16:18 +00:00
Tom Lane
976625c54a I continue my quest to eliminate documentation that claims
a listen/notify condition name is a class or table name, 'cause it ain't.
1998-10-08 01:10:28 +00:00
Bruce Momjian
ba0a1ae721 Add changelog. 1998-10-08 00:41:36 +00:00
Bruce Momjian
5d8d65e8b3 remove unused file. 1998-10-08 00:39:11 +00:00
Bruce Momjian
25b5faa7cd Just a quick patch. This makes the JDBC driver thread safe, which is an
important step towards making the driver compliant, and means that for
some Java applications and servlets, only a single database connection
is
needed, so in a sence this is a nice little show stopper for 6.4 (and
should still be backward compatible to 6.3.2).

Peter
1998-10-08 00:38:21 +00:00
Bruce Momjian
9042e9d757 Cleanup for snprintf for long long's. 1998-10-08 00:34:47 +00:00
Bruce Momjian
8849655d24 I agree. I think, though, that the best argument presented in the
debate was from Paul Vixie, who wanted INET to be the name covering
both IPV4 and IPV6.  The following kit makes the needed changes:

Tom Ivar Helbekkmo
1998-10-08 00:19:47 +00:00
Bruce Momjian
30debec6e5 Hello!
Here are two new patches for the Win32 support.

1) The patch based on the one from Hiroshi Inoue [Inoue@tpf.co.jp], to
load
Winsock.dll from libpq.dll.
2) A patch for psql.c to remove the call to WSAStartup(), since it is
not
required when it's done in libpq.dll.

I'm still looking for the possibility of having a crypt() function in
libpq.dll too, the same way getopt was included. Any chance of getting
this
before 6.4, or should we wait for the next one?


//Magnus
1998-10-08 00:10:49 +00:00
Bruce Momjian
cb4292ea64 vacuum cleanups 1998-10-07 22:31:50 +00:00
Bruce Momjian
9549a8cd7d Fix snprintf.c for machines that don't have long long, like some Irix. 1998-10-07 17:12:52 +00:00
Thomas G. Lockhart
7d4b59f024 Use the $(LN_S) substitution for "ln -s" since configure tests for it. 1998-10-07 06:50:37 +00:00
Thomas G. Lockhart
ed24461ca1 Clean up for configuration from the Postgres main configure script.
Use @top-srcdir@ to find the right Makefile.global and use ODBCSRCDIR
 to point to this local directory.
Move non-platform-specific stuff to outside the if clauses.
Still need to move all platform-specific stuff to the templates.
1998-10-07 06:49:22 +00:00
Thomas G. Lockhart
fca4519d5b Add conditional compilation of the ODBC directory.
Requires --with-odbc specified in the standalone configure.
1998-10-07 06:41:40 +00:00
Thomas G. Lockhart
effb32c307 Add a few items to support an integrated build of the ODBC interface. 1998-10-07 06:39:30 +00:00
Thomas G. Lockhart
608dbb1b3e Separate out the lextest so that it is run by "make" and "make install".
Before, "make install" did not run the lextest.
Fix up the ODBC make from this main configure.
Include configure test for "ln -s" in Makefile.global.in.
 Was always in configure, just not carried through to here for use.
1998-10-07 06:38:29 +00:00
Bruce Momjian
3e66e2b17b make lock variable only used with fcntl 1998-10-07 03:45:12 +00:00
Bruce Momjian
252568dc11 Update pg_dump sgml and manuals to remove rule restriction. 1998-10-07 02:49:10 +00:00
Bruce Momjian
803204bd1e Playing around with pg_dump for a while resulted in some
fixes,  enhancements and some found bugs not yet fixed. After
    all I was able to get useful results  when  dumping/reloading
    the regression database.

Jan
1998-10-06 22:14:21 +00:00
Tom Lane
57d57d9500 Took it on myself to change libpq's sharedlib version number from
1.1 to 2.0 for this release.  The other frontend shlibs need version
number bumps too, but I think a minor version number change will do for them.
1998-10-06 14:22:12 +00:00
Tom Lane
fe91cd41ea If we're going to offer a default definition of PQmblen,
it probably ought to actually work.
1998-10-06 14:16:50 +00:00
Tom Lane
a4fd4cdc0d Re-apply fix stomped on by someone else's patch. Tsk, tsk. 1998-10-06 14:05:02 +00:00
Thomas G. Lockhart
1eab86e26d Update source code to Byron's v6.30.0250 sources plus minor cleanup
to get rid of unused variables.
Get clean compile on Linux (Thomas and Gerald).
Implement autoconf/configure for standalone builds and use the existing
 autoconf/configure system when in the Postgres source tree.
Code tests and functions with ApplixWare-4.4.1beta on a Linux box.
Changes should be backward compatible with WIN32 but still needs testing.
1998-10-06 05:58:41 +00:00
Thomas G. Lockhart
72129e98ce Try to configure interfaces/odbc using the --with-odbc switch.
Suppress installing man pages from here; do it from the doc/Makefile now.
1998-10-06 05:42:58 +00:00
Thomas G. Lockhart
b53d36618f Forgot to initialize double quote option to be enabled. 1998-10-06 05:35:42 +00:00
Thomas G. Lockhart
fe9bf46bd4 Add mention of the new "suppress double quotes" command line option "-n". 1998-10-06 05:05:48 +00:00