Marc G. Fournier
be19feb14a
The decode function in psql.c doesn't return anything, so its
...
declaration is incorrect.
-Kurt
1996-07-29 20:58:42 +00:00
Marc G. Fournier
c4ea55d2c9
clean up /tmp behind itself
...
submitted by: bruce
1996-07-29 20:52:24 +00:00
Marc G. Fournier
496b937dca
Change ordering of "user modified variables" so that they are at
...
the top of th efile instead of scattered throughout
Turned off default behavior of compiling with -g enabled
submitted by; bruce
1996-07-29 20:51:41 +00:00
Marc G. Fournier
48cde8d83b
fix a redeclaration error
...
submitted by Kurt
1996-07-29 20:49:02 +00:00
Marc G. Fournier
20f3236650
Modifications for bsdi from Kurt(sp?)
1996-07-29 06:54:01 +00:00
Marc G. Fournier
7450ea6dfb
cosmetic changes: char* x changed to char *x
...
submitted by: bruce
1996-07-28 07:08:15 +00:00
Marc G. Fournier
0e887c541e
reversed bruces patch to getopt() loop about optarg
...
submitted by: bruce
1996-07-28 06:59:43 +00:00
Marc G. Fournier
4b3cb03104
fixes: It appears several routines use lcons to store integers rather than
...
pointers.
submitted by: bruce
1996-07-28 06:56:28 +00:00
Marc G. Fournier
b834d27bc9
small port fixes for sparc_solaris
...
submitted by: jason
1996-07-28 06:54:15 +00:00
Julian Assange
ed3240d093
bugfix: if NOREADLINE was not defined and input was not from a tty, then
...
the getopt() was not executed.
1996-07-28 06:48:42 +00:00
Marc G. Fournier
64b130a8e7
Various fixes required for psql
...
Submitted by: Bruce
1996-07-27 04:38:22 +00:00
Marc G. Fournier
edb519b14c
and now, the long awaited PAGER patches from Bruce...
...
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-27 02:55:23 +00:00
Marc G. Fournier
6e077b0ae5
Further modifications for fixing createuser bug...
...
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-27 02:40:45 +00:00
Marc G. Fournier
22113f81fd
This is a patch to pg_dump which fixes varchar and char printing in the
...
case where the attribute length is variable (stored as -1). Previously,
you'd get output that looked like:
CREATE TABLE foo (bar varchar(-1));
Monitor and psql don't like this at all :). Here is a fix:
Submitted by: Adam Sussman <myddryn@vidya.com>
1996-07-27 02:29:51 +00:00
Marc G. Fournier
c13ef1afed
My patch to fe-connect.c introduced a new bug which is triggered only, if
...
Kerberos is being used (attempt to free static memory).
The error was caused by a confusing doublespeak of fe_getauthname():
Returns a pointer to static memory, if you authenticate via Kerberos,
a pointer to dynamic memory otherwise.
Submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
1996-07-27 02:27:55 +00:00
Marc G. Fournier
1a675fe5b2
Fixed these script sonce and for all?
...
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-27 02:19:18 +00:00
Marc G. Fournier
32a3858add
corrects the output for a 'SELECT DISTINCT ON ...' at line 2900
...
submitted by: Dr_George_D_Detlefsen <drgeorge@ilt.com>
1996-07-27 02:06:10 +00:00
Marc G. Fournier
b141c5a973
Fix where 'make clean' wipes out everything if no obj directory
...
exists...
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-27 02:04:12 +00:00
Marc G. Fournier
95b6f6ea33
Missed a small patch fro mBruce for BSDi
1996-07-26 20:39:04 +00:00
Marc G. Fournier
f45dfa6174
should always take mail headers out of Makefile files befor ecommitting :)
1996-07-26 20:15:40 +00:00
Marc G. Fournier
e4b2558fa3
Minor bug fix
1996-07-26 20:03:21 +00:00
Marc G. Fournier
ba4b7f5021
regression Makefile, rev 2
...
Submitted by: Dr. George
1996-07-26 19:58:04 +00:00
Marc G. Fournier
8a372d202f
Add in port to DG/UX
...
Submitted by: "Brian E. Gallew" <geek+@cmu.edu>
1996-07-25 20:45:05 +00:00
Marc G. Fournier
5315d37c20
Fix applied for NESTLOOP bug
...
submitted by: vadim@sable.krasnoyarsk.su (Vadim B. Mikheev)
1996-07-25 20:36:46 +00:00
Marc G. Fournier
aac483943d
fixed usuage of -ltermcap for psql
...
submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
1996-07-25 20:01:51 +00:00
Marc G. Fournier
9e0a8d4b26
improvements to regression testing
...
submitted by: dr. george
1996-07-25 19:56:59 +00:00
Marc G. Fournier
14cd0ca3bd
modified i386_solaris port
...
submitted by: dr. george
1996-07-25 19:48:24 +00:00
Marc G. Fournier
31cae34d07
multiple define of 'union semun' removed
...
submitted by: dr. george
1996-07-25 19:45:31 +00:00
Marc G. Fournier
fd35587d4c
moved the FLEX stuf from Makefile.global to here
1996-07-25 07:28:12 +00:00
Marc G. Fournier
10369ad7b2
removed tas.s refernce
1996-07-25 07:27:08 +00:00
Marc G. Fournier
65b4b39246
Dr George suggested removing Makefile.custom altogether, to reduce
...
any confusion...so its gone...
1996-07-25 07:26:37 +00:00
Marc G. Fournier
ff50e5ab47
Switched from using monitor to using psql
...
Submitted by: Rick Weldon <rick@wisetech.com>
1996-07-25 06:55:49 +00:00
Marc G. Fournier
69ee15d663
Removed monitor from compile/install (will eventually be removed
...
completely)
1996-07-25 06:54:26 +00:00
Julian Assange
76bc8cb97f
Large re-write/enhancement. In pg-101 Jolly only included a smaller part
...
of my (proff) patch. This is the rest of it, with a few, mainly aesthetic
changes. I've removed a lot of redundency from the original code,
added support for the new PQprint() routines in libpq, expanded tables,
and a few generally nifty ways of massaging data in and out of the
backend. Still needs some good stress testing.
1996-07-25 06:46:35 +00:00
Julian Assange
23c7ff0b3c
PQprint() routines. The older code is still there for historical
...
compatibility. There isn't much difference here against my previous
PQprint() code, except that you can add optional arguments to the
<table args> in html.
1996-07-25 06:21:11 +00:00
Marc G. Fournier
98ae3fadd1
Ack, -I$(srcdir)/backend *is* required...
1996-07-25 01:11:15 +00:00
Marc G. Fournier
7920dce9f9
comment out USE_TCL...having USE_TCL=true seems to imply that you
...
have to have TCL to use postgres95, which you don't
1996-07-25 00:30:02 +00:00
Marc G. Fournier
2f19e28940
there are no includes files in backend, there should be, so why look
...
there?
1996-07-25 00:26:21 +00:00
Marc G. Fournier
0864a2ddae
Fix compiler not finding libpgtcl.h header file
1996-07-25 00:22:19 +00:00
Marc G. Fournier
0ede7ca819
Added an empty Makefile.custom file...
1996-07-25 00:19:42 +00:00
Marc G. Fournier
18367ced1b
Ack, missed two files from the merge...looks like a .11 is goin gto have
...
to go out after all :(
1996-07-23 05:51:29 +00:00
Marc G. Fournier
b619cb09d9
iBrought in a fix for backend crashes
...
Submitted by: "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
1996-07-23 05:44:10 +00:00
Marc G. Fournier
00fe588fb0
comment out inclue of Makefile.custom, as i tbreaks compiling the
...
bin directory
1996-07-23 05:24:35 +00:00
Marc G. Fournier
83c9ec765e
Last changes to src from Dr. George *wipes brow*
1996-07-23 03:38:44 +00:00
Marc G. Fournier
2206b5819d
Alot of "changes" from Dr. George's source tree...
...
Most of the changes in here look to b epurely cosmetic, and don't
affect anything...
...and some stuff is completely questionable...in that I may have reversed
some of the stuf fwe already had :(
1996-07-23 03:35:14 +00:00
Marc G. Fournier
94e5642b87
More Merge's from Dr' sourec tree
1996-07-23 03:24:47 +00:00
Marc G. Fournier
245686d43a
modifications to regressoin tests
1996-07-23 03:19:34 +00:00
Marc G. Fournier
668aa24fc4
More merge's from Dr. George's sourec tree
1996-07-23 03:13:58 +00:00
Marc G. Fournier
772ae267e3
spelling error...and correction
1996-07-23 03:05:23 +00:00
Marc G. Fournier
be5bfd54f2
Put in a new FAQ
...
Merged in Dr. George's src/bin tree (possibly broke monitor/psql in process)
1996-07-23 03:03:43 +00:00
Marc G. Fournier
d1724d65b7
reversed julian's patch back in again...othere things cause monitor
...
to not compile now...
1996-07-23 02:26:41 +00:00
Marc G. Fournier
7344d69898
Finished merging in src/backend from Dr. George's source tree
1996-07-23 02:23:54 +00:00
Marc G. Fournier
e11744e164
More of Dr. George's changes...
...
- src/backend/catalog/*
- no changes
- src/backend/executor/*
- change how nodeHash.c handles running out of memory
- src/backend/optimizer/*
- mostly cosmetic changes
1996-07-22 23:30:57 +00:00
Marc G. Fournier
5108a5b320
More merges from Dr. George's tree...
...
- src/backend/tcop/*
- cosmetic changes to OPENLINK patches
- src/backend/storage/*
- more changes, mostly cosmetic
- src/backend/ports/*
- merge in patches for aix and i386_solaris
1996-07-22 23:00:26 +00:00
Marc G. Fournier
18a7989e1a
- merging in Dr. George's tree with ours
...
- src/backend/access
- no changes
- src/backend/utils
- mostly cosmetic changes
- ESCAPE_PATCH Added
- src/Makefile.global changes merged
1996-07-22 21:58:28 +00:00
Marc G. Fournier
672f6ece23
Brought in David Bennett's (dave@bensoft.com) changes to pg_dump
1996-07-22 08:37:00 +00:00
Marc G. Fournier
02bbd95a41
Backed out the changes to monitor.c that seem to be affecting the
...
ability for createuser to actually create one...
1996-07-22 05:59:53 +00:00
Marc G. Fournier
753631ac17
- added LD_ADD+=-ltermcap to postgres.mk.bsdi_2_1
...
- submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-22 05:13:32 +00:00
Marc G. Fournier
435d32cd25
quick fix to src/bin/Makefile.global so that compiling doesn't look for a
...
libpq that is already installed...
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-22 04:51:05 +00:00
Marc G. Fournier
df43edcf45
Fix for:
...
>
> We did some testing and found that if we name the table 'Inv' with
> anything appended to it, the table does not appear in the '\d' table list.
> It appears to be the capital I as a table named 'invItemsL' is created
> and displayed properly.
>
- submitted by: Jason Wright <jason@shiloh.vnet.net>
1996-07-20 08:44:45 +00:00
Marc G. Fournier
ffae4ebde9
Brought in NEOSOFT's port to i386_solaris
...
Submitted by: Randy Kunkee <kunkee@Starbase.NeoSoft.COM>
1996-07-20 08:36:33 +00:00
Marc G. Fournier
544e802910
Fixes:
...
Hash indices for some data types don't work, for example for time and date.
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-20 08:19:13 +00:00
Marc G. Fournier
94215d51c8
Fixes:
...
The updating of array fields is broken in Postgres95-1.01, An array can
be only replaced with a new array but not have some elements modified.
This is caused by two bugs in the parser and in the array utilities.
Furthermore it is not possible to update array with a base type of
variable length.
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-20 07:59:41 +00:00
Marc G. Fournier
baeb3aadc5
- fix installation not installing man pages
...
- submitted by: drgeorge@ilt.com (Dr_George_D_Detlefsen)
1996-07-20 07:52:36 +00:00
Marc G. Fournier
5feb9dc9df
- extend conditional for use of -ltermcap in bsdi/bsdi_2_1 compiles
...
- submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-20 07:40:03 +00:00
Marc G. Fournier
c777e8131e
fixed a bug with not commenting out FSYNC= in initdb.sh
1996-07-20 07:33:36 +00:00
Marc G. Fournier
20288400f3
Fixes:
...
I have written some patches which add support for NULLs to Postgres95.
In fact support for NULLs was already present in postgres, but it had been
disabled because not completely debugged, I believe. My patches simply add
some checks here and there. To enable the new code you must add -DNULL_PATCH
to CFLAGS in Makefile.global. After recompiling you can do things like:
insert into a (x, y) values (1, NULL);
update a set x = NULL where x = 0;
You can't still use a "where x=NULL" clause, you must use ISNULL instead.
This could probably be an easy fix to do.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-19 07:24:11 +00:00
Marc G. Fournier
83adddfcc3
- improve date/time parsing routines
...
- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-19 07:19:56 +00:00
Marc G. Fournier
a7cfd65532
Fixes:
...
Select queries with an isnull or notnull clause, like "select * where
somefield isnull", crash the backend if the table has at least one index.
If the indices are deleted the queries work again. Also the explain
command fail in the same way.
The is caused by a bug in subroutine of the optimizer which doesn't check
null values in the clauses.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-19 07:14:14 +00:00
Marc G. Fournier
3704b99522
- libpq calls "fe_getauthname()" two times in "fe-connect.c", but
...
doesn't free the buffer allocated by this function.
- submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
1996-07-19 07:00:56 +00:00
Marc G. Fournier
df1a06ed37
- added -ltermcap to LIBS in bin/psql/Makefile
...
- submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-19 06:53:40 +00:00
Marc G. Fournier
2ab6d1f125
Removed -I${HEADERFILE} from bin/Makefile.global
1996-07-19 06:47:51 +00:00
Marc G. Fournier
de82ece8bd
Fix PAGER bug in createuser/etc scripts
...
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-19 06:36:38 +00:00
Marc G. Fournier
6562fa851e
Fixes:
...
'select distinct on' causes backend to crash
submitted by: Chris Dunlop chris@onthe.net.au
1996-07-19 06:27:59 +00:00
Marc G. Fournier
9bffaade96
Fixes:
...
This is a patch to prevent an endless loop occuring in the Postgres backend
when a 'warning' error condition generates another warning error contition
in the handler code.
Submitted by: Chris Dunlop, <chris@onthe.net.au>
1996-07-19 06:13:58 +00:00
Marc G. Fournier
64bfa0487b
fixes for textcat(), but headers were missing from archive :(
1996-07-19 06:08:21 +00:00
Marc G. Fournier
89ad633897
Fixes compile errors with irix5 port
...
Submitted by: Thomas van Reimersdahl <reimersd@dali.techinfo.rwth-aachen.de>
1996-07-19 05:54:17 +00:00
Marc G. Fournier
2771129c82
Fixes:
...
minor Makefile changes to force setting of SRCDIR and ordering of
include files
Submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-19 05:32:42 +00:00
Marc G. Fournier
54857ad1a7
Fixes:
...
It is not possible to define attributes as arrays of date or time, the
type _time and _date are not defined.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-19 05:21:28 +00:00
Marc G. Fournier
1d4a115a37
Fixes:
...
The type _char16 (array of char16) is incorrectly defined as array of name
and values longer than 16 chars are stored as names and not truncated to 16
bytes as they should be.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1996-07-19 05:12:40 +00:00
Marc G. Fournier
72f76d38eb
libpq and psql.c have been modified to do various things they didn't do
...
before (plus some optimisations/bug fixes et al). I've included a small
demo transcript below. Note that all of of the display
functionality/intelligence you see here, can be had merely by calling
the new LIBPQ PQprint() routine with the appropriate arguments/options,
including the HTML3 output guff.
submitted by: Julian Assange <proff@suburbia.net>
1996-07-18 05:48:57 +00:00
Marc G. Fournier
bc0bd47c6a
Fixes: In the solaris port the file descriptors are hard coded to 20 (from the
...
include file sys/param.h
Submitted by: michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
1996-07-18 04:59:42 +00:00
Marc G. Fournier
55aab6a434
fix: BSDi 2.1 requires a port seperate from BSDi 2.0{.1}
...
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-16 07:13:58 +00:00
Marc G. Fournier
bf2abf0dae
fix: clean up formatting of \d tablename in psql
...
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-16 06:58:12 +00:00
Marc G. Fournier
e5eb859446
fix: During a BSD/OS(BSDI) 2.1 compile, I got errors about undefined
...
S_LOCK_'s during the postgres link phase.
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-16 06:53:41 +00:00
Marc G. Fournier
169a5b7670
applied fixes for psql
...
- \p produces traditional results
- \r added
submitted by: Bruce Momjian (root@candle.pha.pa.us )
1996-07-16 06:37:28 +00:00
Marc G. Fournier
d7a1ce7af7
adds: case insensitive regexp for varchar
...
From: azcb0@sde.uts.amdahl.com
1996-07-15 19:32:33 +00:00
Marc G. Fournier
350cb69aed
fsync patch from openlink
...
NOTE: FSYNC needs to be set at top of initdb.sh to enable use of fsync
patches...disabled by default
1996-07-15 19:22:58 +00:00
Marc G. Fournier
faf21935d1
fsync patch from openlink
1996-07-15 19:22:17 +00:00
Marc G. Fournier
d838e30f13
Submitted by Openlink, requires -DOPENLINK_PATCHES in Makefile.global
...
varchar.diff
------------
This patch was necessary for the OpenLink Postgres Database Agent.
I think this fixes a bug anyway.
The following query demonstrates this bug:
create table foo (bar varchar);
insert into foo values (''); -- no problem
select * from foo where bar = ''; -- fails
1996-07-15 19:11:23 +00:00
Marc G. Fournier
76145bd74b
Makefile.global changes to show option -DOPENLINK_PATCHES
1996-07-15 19:10:32 +00:00
Marc G. Fournier
3a2a3689b8
Moved two defines required for FreeBSD into Makefile.global
...
The idea is that its right beside PORTNAME, so if it doesn't apply to
the OS in question, it can be rememberd to disable it...
1996-07-13 07:37:33 +00:00
Marc G. Fournier
d602a35d37
Brought in extensions to pg_dump
...
Submitted by: david bennett <dave@bensoft.com>
marc g. fournier <scrappy@ki.net>
1996-07-12 05:39:39 +00:00
Marc G. Fournier
e72ca17f77
fixes for several potential null pointer dereferences
...
submitted by: Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
1996-07-12 04:53:59 +00:00
Marc G. Fournier
950b6ab022
Fixes: Using LIKE or ~ operator on text type files which are null valued
...
causes segmentation fault.
Thanks to: Salvador Ortiz Garcia, Robert Patrick, Paul 'Shag' Walmsley,
and James Cooper for finding and fixing the problem.
1996-07-09 06:39:19 +00:00
Marc G. Fournier
25bb71835f
Fix: Can't drop tables with names longer than 16 characters.
1996-07-09 06:35:38 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00