Commit Graph

3334 Commits

Author SHA1 Message Date
Bruce Momjian 6f1a50746c Clean up template names and remove LINUX_ELF hack. No longer
needed.
1998-06-12 18:36:42 +00:00
Bruce Momjian be1d4719b4 Now 6.4. 1998-06-09 22:59:04 +00:00
Bruce Momjian 755c00a360 Auto-seed random so user's can't request random values based on
our postmaster random seed used from cancel.
1998-06-09 19:20:59 +00:00
Bruce Momjian 19a95d9742 Fix for exec() removal. 1998-06-09 17:36:28 +00:00
Bruce Momjian a608637768 Another for for exec() removal and finding binaries. 1998-06-09 17:13:06 +00:00
Bruce Momjian cb8539f9be Attached is a patch that fixes these leaks, and does a couple other
things as well:
  * Computes and saves a cancel key for each backend.  * fflush
  before forking, to eliminate double-buffering problems
    between postmaster and backends.

Other cleanups.

Tom Lane
1998-06-09 04:06:12 +00:00
Bruce Momjian 3912b75705 Fixed exec path problem. 1998-06-08 22:28:30 +00:00
Byron Nikolaidis b206958d13 Official V.0244 (missed a file) 1998-06-08 20:55:33 +00:00
Bruce Momjian 0957e08ac3 Show filename on exec failure. 1998-06-08 19:36:40 +00:00
Bruce Momjian 1572800b16 Fix typo. 1998-06-08 19:15:05 +00:00
Bruce Momjian 1db770f8ce Make regression optional. 1998-06-08 16:48:49 +00:00
Bruce Momjian b479fe3bc7 update to say "most advanced". 1998-06-08 16:43:15 +00:00
Byron Nikolaidis 0e708e595e Update driver to official 6.30.0244 release. 1998-06-08 16:15:12 +00:00
Bruce Momjian 556e603b25 Add real random() call to postmaster for use in cancel. 1998-06-08 04:27:59 +00:00
Bruce Momjian b952a8491e Also added two new files.
src/test/regess/sql/junkfilter.sql                --  SQL for
regression test src/test/regess/expected/junkfilter.out      --
Expected output SQL for regression test


David Hartwig
1998-06-05 03:56:03 +00:00
Bruce Momjian 2e6159311a I made several adjustments to my earlier patch to handle the
condition where the target label is ambiguous.
1998-06-05 03:49:20 +00:00
Bruce Momjian a576a60e3f Show backend status on ps command line. Remove unused args from
pg_exec_query().
1998-06-04 17:26:49 +00:00
Byron Nikolaidis 99d21d5b62 Update odbc driver to current version V.0244 1998-06-03 20:33:45 +00:00
Marc G. Fournier 85f91d0e8e From: Peter T Mount <patches@maidast.demon.co.uk>
Bug fixes:

        PreparedStatement.setObject didn't handle short's

        ResultSet.getDate() now handles null dates (returns null rather
        than a NullPointerException)

        ResultSetMetaData.getPrecision() now returns 0 for VARCHAR

New features:

        Field now caches the typename->oid in a Hashtable to speed things
        up. It removes the need for some unnecessary queries to the
        backend.

        PreparedStatement.toString() now returns the sql statement that
        it will send to the backend. Before it did nothing.

        DatabaseMetaData.getTypeInfo() now does something.
1998-06-03 19:43:29 +00:00
Marc G. Fournier 9142e54e73 From: Peter T Mount <patches@maidast.demon.co.uk>
Bug fixes:

        PreparedStatement.setObject didn't handle short's

        ResultSet.getDate() now handles null dates (returns null rather
        than a NullPointerException)

        ResultSetMetaData.getPrecision() now returns 0 for VARCHAR

New features:

        Field now caches the typename->oid in a Hashtable to speed things
        up. It removes the need for some unnecessary queries to the
        backend.

        PreparedStatement.toString() now returns the sql statement that
        it will send to the backend. Before it did nothing.

        DatabaseMetaData.getTypeInfo() now does something.
1998-06-03 18:56:09 +00:00
Marc G. Fournier 2a74511bf4 From: Michael Meskes <meskes@topsystem.de>
+ Wed Jun  3 13:38:57 CEST 1998
+
+       - Made sqlca struct compatible with other systems.
+       - Give back a warning in case of truncation
+       - Changed the handling of OptimizableStmt since the old one broke
+         CREATE RULE
+       - Set library version to 2.3
+       - Set version to 2.3.3
1998-06-03 13:55:15 +00:00
Edmund Mergl 0b09955da8 pgsql no more needs to be installed for perl 1998-06-01 16:50:23 +00:00
Edmund Mergl b22418d707 removed constraint for perl: installed pgsql 1998-06-01 16:44:08 +00:00
Edmund Mergl df58a902f9 adapted Makefile.PL to be build in source tree 1998-06-01 16:41:27 +00:00
Marc G. Fournier fc06df7070 Update the text... 1998-05-31 22:20:44 +00:00
Thomas G. Lockhart 345b0f6b99 Rewrite JROUND macro to multiply by 1e6 rather than divide by 1e-6
and vica versa for the next operation.
This is reputed to fix inline math optimization troubles in glibc-2.0.x.
Regression tests still pass on libc/i686 machine.  Patch suggested by Matt.
1998-05-31 17:08:35 +00:00
Bruce Momjian ff84c98a65 cleanup. 1998-05-29 17:10:07 +00:00
Bruce Momjian 212c905e2c Remove fork()/exec() and only do fork(). Small cleanups. 1998-05-29 17:00:34 +00:00
Thomas G. Lockhart 2d4c6cab96 Define new routines oper_exact() and oper_inexact().
Add coerce_target_expr().
1998-05-29 14:07:50 +00:00
Thomas G. Lockhart d2404c17c9 Add func_select_candidate() to allow use in unary operator parsing. 1998-05-29 14:03:08 +00:00
Thomas G. Lockhart 3671cb3a32 Add NAMEOID as built-in type.
Change ordering of IS_BUILTIN_TYPE() macro to optimize lookup.
Make CASH type _not_ equivalent to INT4.
 CASH is passed by reference rather than passed by value.
1998-05-29 14:02:28 +00:00
Thomas G. Lockhart 8536c96261 Do type conversion to match columns in UNION clauses.
Currently force the type to match the _first_ select in the union.
Move oper_select_candidate() from parse_func.c to parse_oper.c.
Throw error inside of oper_inexact() if no match for binary operators.
Check more carefully that types can be coerced
 even if there is only one candidate operator in oper_inexact().
Fix up error messages for more uniform look.
Remove unused code.
Fix up comments.
1998-05-29 14:00:24 +00:00
Thomas G. Lockhart 329083a97e Require #define variable ALLOW_ABSOLUTE_DBPATHS if absolute paths are
allowed to be used for alternate database locations.
Probably best to default to not allowed, as now, since there are security
 and integrity issues which should be considered carefully before
 opening things up.
Will update docs to discuss this issue.
1998-05-29 13:43:14 +00:00
Thomas G. Lockhart 6222292582 Fix up a couple of comments broken by the automatic indenting process. 1998-05-29 13:39:30 +00:00
Thomas G. Lockhart 3984f0eeb2 Add conversion functions between "name" and other string types. 1998-05-29 13:37:29 +00:00
Thomas G. Lockhart 457b6efa43 Add conversion functions to and from the "name" data type. 1998-05-29 13:33:58 +00:00
Thomas G. Lockhart e8cbf3a79c Ensure string is completely null padded on input (as advertised). 1998-05-29 13:31:52 +00:00
Thomas G. Lockhart 5812d51270 Add test for UNION.
Add additional tests in strings for conversions of the "name" data type.
Test SQL92 string functions such as SUBSTRING() and POSITION().
1998-05-29 13:23:02 +00:00
Thomas G. Lockhart 3955d66803 Add test for UNION.
Add additional tests in strings for conversions of the "name" data type.
Test SQL92 string functions such as SUBSTRING() and POSITION().
Fix geometry tests to reflect code fixed by Gautam.
Update error messages.
1998-05-29 13:22:42 +00:00
Thomas G. Lockhart f2764eea42 Clarify ownership and security issues with alternate db locations. 1998-05-29 13:16:36 +00:00
Thomas G. Lockhart 3d96825bb1 Define PGDOC to use POSTGRESDIR by default.
Can be set to something else in Makefile.custom if necessary.
1998-05-29 13:14:25 +00:00
Bruce Momjian 3af1cc6755 postmaster/postgres options cleanup. 1998-05-27 18:32:05 +00:00
Bruce Momjian b1eb7b5927 Cleanup. 1998-05-26 17:29:07 +00:00
Marc G. Fournier c31a80faf0 From: Michael Meskes <meskes@topsystem.de>
+Wed May 20 10:46:48 CEST 1998
+
+       - Fixed handling of preprocessor directives and variable
+         initialization.
+       - Added enum datatype.
        - Set version to 2.3.2
1998-05-26 13:43:55 +00:00
Bruce Momjian b15b768bfa Fix for drop database and junk filters. 1998-05-26 03:44:07 +00:00
Bruce Momjian e84f8a4656 Fix for postgres started from command line, sends 'Z' protocol
flag.
1998-05-26 03:20:01 +00:00
Bruce Momjian 7bcc2da09f Clean up pg_hba.conf 1998-05-24 17:34:23 +00:00
Marc G. Fournier b2d7c58cb2 1998-05-18 Karl Eichwalder <ke@suse.de>
* configure.in (AC_CHECK_LIB): check for ncurses; if this fails
        check for curses.
1998-05-24 03:54:56 +00:00
Marc G. Fournier e3a4ceac92 From: Brook Milligan <brook@trillium.NMSU.Edu>
Everything (except of course random) passes on my netbsd box except int2,
int4, oidint2, and oidint4; all fail because of error message differences.
Below are some patches to the expectations to correct the problem by creating
*-NetBSD.out files.
1998-05-24 03:52:39 +00:00
Marc G. Fournier eaa1df28bf From: Tom Lane <tgl@sss.pgh.pa.us>
... which causes it to build and install the shared version of
libpgtcl under the wrong name, on HPUX only.  Patch against
today's sources follows.
1998-05-24 03:48:58 +00:00