1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00
Commit Graph

23613 Commits

Author SHA1 Message Date
bedd04a551 Implement CASE expression. 1998-12-04 15:34:49 +00:00
19740e2fff Portability fixes found needed for SunOS 4.1.x:
SunOS has tas(), but not memmove or strerror, and its sprintf() doesn't
return int.  Also, older versions of GNU Make don't like rules with
empty left-hand sides...
1998-11-30 00:30:05 +00:00
b10a719777 Use autoconf to determine whether system has POSIX signals,
instead of relying on port's os.h to tell us.  (Needed for HPUX
where system major version is not enough info.)
configure unsets USE_TK if X libraries not found.
doc/Makefile uses gzcat or zcat as found by autoconf.
1998-11-29 05:30:25 +00:00
92eacaf523 Change exp() behavior to generate error on underflow rather
than silently returning zero on some machines.  Correct float8 regress test
to agree.  Also fix pow() overflow/underflow check to work correctly on
HPUX.
1998-11-29 01:57:59 +00:00
67531c42bd Portability fix for old SunOS releases: realloc(NULL, ...)
doesn't work there.
1998-11-29 01:53:54 +00:00
79fcde48b2 Portability fix for old SunOS releases: fflush(NULL)
doesn't work there.  Fortunately the postmaster only has stdout and
stderr to flush.
1998-11-29 01:51:56 +00:00
9e0e148a83 pq_getstr didn't handle buffer overrun correctly; it would
fail to consume the rest of the input string, and worse it would write
one more byte than it should into the buffer, probably resulting in coredump.
Fortunately there's a correct implementation next door in pqcomprim.c.
1998-11-29 01:47:42 +00:00
971175fa0c New HeapTuple structure/interface. 1998-11-27 20:09:56 +00:00
6beba218d7 New HeapTuple structure/interface. 1998-11-27 19:52:36 +00:00
2435c7d501 New HeapTuple structure/interface. 1998-11-27 19:33:35 +00:00
07ffc4628e Fixed bug in the unknown module. Module still tried to call
builtin SPI commands by their old SPI_* names. New names are spi_*.

Jan - 11/23/1998
1998-11-23 16:50:54 +00:00
6fef1a26cc modify configure so that template/.similar entries can be
selected when they match a prefix of the  value.  The previous method,
which stripped all version data from  and then tried to match that
against .similar entries, was entirely useless when .similar contained
several entries for different version numbers of a single OS name.
1998-11-23 04:40:58 +00:00
34680930d5 Fix using indices in OR.
EXPLAIN all indices used.
1998-11-22 10:48:45 +00:00
1f00f0dc2e Added indxqualorig to IndexScan: fix for using indices in OR. 1998-11-22 10:45:09 +00:00
056ba12881 Updating and addign files... 1998-11-19 02:39:51 +00:00
fd0366e1b5 Performance improvement for libpq: avoid calling malloc separately
for each field of each tuple.  Makes more difference than you'd think...
1998-11-18 00:47:28 +00:00
643c7beddf Add text<->float8 and text<->float4 conversion functions.
This will fix the problem reported by Jose' Soares
 when trying to cast a float to text.
1998-11-17 14:36:51 +00:00
8d507c204b Additional fixes for mixed-case table names from Billy Allie. 1998-11-17 14:26:39 +00:00
91a62480f7 From: Taral <taral@cyberjunkie.com>
More COS Query Service support.
1998-11-17 03:10:36 +00:00
935a2e694e Start defining the Corba work...
From: Taral <taral@cyberjunkie.com>
1998-11-16 18:03:34 +00:00
0856cdf3f7 Fix a couple of bugs involving calling fmtID() twice in
a single printf() ... it'd work if fmtId() didn't use a static return area...
1998-11-15 07:09:13 +00:00
9f07f8f40f Add "vacuumdb" utility to make it easier to clean databases.
Also supports the "analyze" mode, with or without specifying tables
 and columns.
1998-11-14 01:58:15 +00:00
69ff5b9c7e Add "vacuumdb" utility. 1998-11-14 01:56:36 +00:00
2795fae5bf Fix test for table existance to allow mixed-case and whitespace in
the table name. Problem reported by Billy Allie.
1998-11-12 15:39:06 +00:00
c7d9aca135 Fix at least a few shared-library problems on Linux.
We have not seen the end of this issue :-(.
1998-11-12 05:27:01 +00:00
87225ca31d Update for version 06-40-0001 1998-11-11 21:54:01 +00:00
f03729c621 Fix for NOT in where clause causing crash. 1998-11-09 02:49:13 +00:00
39792e5b01 EXPLAIN VERBOSE had a very high probability of triggering
a backend core dump, because it was concatenating a potentially long
string onto another string that didn't necessarily have enough room.
Shame, shame.
1998-11-08 19:38:34 +00:00
8f5ff4cf1c Fix a potential infinite loop in appendStringInfo: would lock
up if first string to be appended to an empty StringInfo was longer
than the initial space allocation.
Also speed it up slightly.
1998-11-08 19:22:24 +00:00
680e4a2950 Add "-N" flag to force double quotes around identifiers.
This is the default, but the new flag will allow overriding an alias,
 for example. So psql -n -N will put in the double quotes,
 and psql -n can be an alias for psql.
Also, add a few braces around a nested single-line conditional construct
 to suppress compiler warnings about "an ambiguous else".
1998-11-06 15:54:47 +00:00
3d22596fe7 August version of docs superceded by sgml version from Jan. 1998-11-06 15:04:31 +00:00
a00c668139 Upgrade to 0.91 ... 1998-11-06 04:11:52 +00:00
30f35ef9c4 Test for and handle NULL arguments to mylog() print statements.
Include definition for _IN_ADDR_T if INADDR_NONE is not defined.
1998-11-04 16:24:32 +00:00
f47bd801e3 Somehow had the solaris template names reversed. Probably was something
fixed in src/configure.in a while ago.
1998-11-04 16:22:09 +00:00
733ad60409 Fix for relname.data from SHIOZAKI Takehiko 1998-11-02 15:28:36 +00:00
c200938343 slight mods required for freebsd (elf vs aout stuff) 1998-11-02 05:30:10 +00:00
46fb81636c Remove various files that were moved to various subdirectories...
Requested by: Peter T Mount peter@retep.org.uk
1998-11-01 16:55:02 +00:00
585442154a oops, forgot one part of the patch...remove 'false' setting to ELF_SYS... 1998-10-31 04:07:00 +00:00
15d61bb439 Minor FreeBSD fixes put in place
From: SHIOZAKI Takehiko <takehi-s@ascii.co.jp>

I tried snapshot(Oct30) and made some patches.
# I think that it is confused to manage both Makefile.shlib and
# makefiles/Makefile.*, don't you?

* configure
        Now FreeBSD 2.X is not supported..., so I added its entry.
        If ELF_SYSTEM is set, gmake treat it defined even though
        it is "false".  So nothing should be set to use "ifdef".
        BSD_SHLIB etc. may have same problems.

* Makefile.shlib
        As you said, FreeBSD entry is much like BSD's.
        I only added ELF_SYSTEM code.

* makefiles/Makefile.freebsd
        Ifdef/else/endif can not be indented with TABs.
1998-10-31 03:58:55 +00:00
2e18525dbe s_lock patch from Ryan. 1998-10-31 02:06:08 +00:00
47ea32f7d4 Mention --without-CXX option in online help. 1998-10-30 22:36:00 +00:00
54789138bd Behave reasonably on a system without shared libraries. 1998-10-30 15:05:23 +00:00
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
c6338530f6 oid8neq => oid8ne 1998-10-29 19:03:50 +00:00
a91c019c06 Drat. Should test a few more cases before committing. 1998-10-29 18:15:28 +00:00
485a71a4ce Add tests for comparison operators. 1998-10-29 18:13:03 +00:00
d9a2be00ec Fix regression test now that code seems to work.
Add tests for comparison operators.
1998-10-29 18:12:50 +00:00
396571d79c Very minor cleanup of no-op code. 1998-10-29 18:11:28 +00:00
9b24e7fa40 Fix discrepency in "@" operator for point and path. 1998-10-29 18:10:23 +00:00
1e7c7343c4 Add oid8neq. 1998-10-29 18:07:09 +00:00