Commit Graph

2520 Commits

Author SHA1 Message Date
Marc G. Fournier 98c7cb11de From: Jan Wilhelm <Jan_Wilhelm@Physik.TU-Muenchen.DE>
a) psql dumps core when using -a password and PGUSER is set but PGPASSWORD
   not set.
1998-01-17 23:17:46 +00:00
Bruce Momjian 53622d66d2 Gram.y cleanup. 1998-01-17 05:01:34 +00:00
Bruce Momjian b37bc65f44 Creates the SubLink structure, and the Query->hasSubLink field,
with supporting code.

Creates SubLink node in gram.y.

psql.c patch for newatttypmod field.
1998-01-17 04:53:46 +00:00
Bruce Momjian c65ea0e040 New pg_attribute.atttypmod for type-specific information like
varchar length.

Cleans up code so attlen is always length.

Removed varchar() hack added earlier.

Will fix bug in selecting varchar() fields, and varchar() can be
variable length.
1998-01-16 23:21:07 +00:00
Bruce Momjian d7427e4802 Temporary varchar patch. 1998-01-16 05:03:45 +00:00
Bruce Momjian 41a4f64dcf Fix for aggreg problem and fmgr.c compile problems. 1998-01-15 22:31:33 +00:00
Marc G. Fournier d876c25803 Fix:
nodeAgg.c: WARN -> NOTICE for elog
parse_oper.c: was created after patch for fmgr_info, so function call wrong
scan.c: regenerated for i386_solaris using flex 2.5.4
gethostname.c: required prototype for gethostname() function
config.h.in: create prototype for isinfo() function

isinf.c: "fake" isinf() under i386_solaris using fpclass() call...
1998-01-15 20:54:52 +00:00
PostgreSQL Daemon baef78d96b Thank god for searchable mail archives.
Patch by: wieck@sapserv.debis.de (Jan Wieck)

   One  of  the design rules of PostgreSQL is extensibility. And
   to follow this rule means (at least for me) that there should
   not  only  be a builtin PL.  Instead I would prefer a defined
   interface for PL implemetations.
1998-01-15 19:46:37 +00:00
Bruce Momjian 763ff8aef8 Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.
Pass List* of Aggregs into executor, and create needed array there.
No longer need to double-processs Aggregs with second copy in Query.

Fix crash when doing:

	select sum(x+1) from test where 1 > 0;
1998-01-15 19:00:16 +00:00
Bruce Momjian f22d8e6668 Function cleanupo for List* when it should be Node *. 1998-01-14 19:55:53 +00:00
Bruce Momjian cb3ce64f2e Cleanup of prototypes. FIx for PQtrace start/stop several times. 1998-01-14 15:48:51 +00:00
Marc G. Fournier d8972c62b4 this should pretty much clean up the i386_solaris port, with regression
tests running "as expected"...
1998-01-13 20:13:19 +00:00
Marc G. Fournier 8adc838ff6 Various cleanups for the i386_solaris environment 1998-01-13 19:28:39 +00:00
Marc G. Fournier 434165295a isinf() doesn't exist under i386_solaris, so code it such that
it is (!isnan() && !finite()) instead
1998-01-13 19:22:29 +00:00
Marc G. Fournier 06356b8978 Oops, should be 'tas.o', not 'tas.s' 1998-01-13 19:04:39 +00:00
Marc G. Fournier 3a48ee4a0f MIssed a semi-colon in AC_LINK_FILES for i386_solaris port... 1998-01-13 15:53:02 +00:00
Marc G. Fournier 80b6206c5a Further clean up "auto-configuration" for ports 1998-01-13 15:31:24 +00:00
Marc G. Fournier 6361ac88b9 Work on getting the i386_solaris compile to work ... 1998-01-13 15:00:22 +00:00
Vadim B. Mikheev 1fd402be54 Remove unused "option" from PQconnectdb(). 1998-01-13 14:57:25 +00:00
Vadim B. Mikheev 9453940a85 Remove PageSizeIsValid from BufferGetPageSize. 1998-01-13 14:56:15 +00:00
Vadim B. Mikheev e8291f7ce2 extern char* crypt_getpwdreloadfilename(void);
^^^^
1998-01-13 14:53:36 +00:00
Marc G. Fournier dfef663fd6 Add a 'dummy' file for i386_solaris.c for configure 1998-01-13 13:33:12 +00:00
Marc G. Fournier a5b106ee89 Updated Regression output 1998-01-13 05:28:21 +00:00
Marc G. Fournier 7fddac925b Have clean clean out the test directory also, as well as the Makefiles in
interfaces/{libpq,libpgtcl}
1998-01-13 04:43:22 +00:00
Marc G. Fournier 6380e70f07 A minor patch for HP/UX 10 vs 9 1998-01-13 04:38:30 +00:00
Marc G. Fournier 602b0d0c1c From: Goran Thyni <goran@bildbasen.se>
OK, here comes a patch, DBD::Pg (and possibly other 3rd party clients)
can connect to unix sockets.
Patch is against current source tree.

Background:
libpq set some policy for client, which it should not
IMHO. It prevent some 3rd party clients to connect with
unix domain sockets etc.
1998-01-13 04:24:10 +00:00
Marc G. Fournier 80159ee2bc One more src/interfaces/libpq/Makefile problem: there's an explicit
reference to the name of the shared library, instead of dereferencing
the definition from the top of the file.

From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-01-13 04:20:51 +00:00
Marc G. Fournier 405ced26ba Various fixes resulting from removing the PORTNAME defines
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-01-13 04:18:22 +00:00
Marc G. Fournier 374bb5d261 Some *very* major changes by darrenk@insightdist.com (Darren King)
==========================================
What follows is a set of diffs that cleans up the usage of BLCKSZ.

As a side effect, the person compiling the code can change the
value of BLCKSZ _at_their_own_risk_.  By that, I mean that I've
tried it here at 4096 and 16384 with no ill-effects.  A value
of 4096 _shouldn't_ affect much as far as the kernel/file system
goes, but making it bigger than 8192 can have severe consequences
if you don't know what you're doing.  16394 worked for me, _BUT_
when I went to 32768 and did an initdb, the SCSI driver broke and
the partition that I was running under went to hell in a hand
basket. Had to reboot and do a good bit of fsck'ing to fix things up.

The patch can be safely applied though.  Just leave BLCKSZ = 8192
and everything is as before.  It basically only cleans up all of the
references to BLCKSZ in the code.

If this patch is applied, a comment in the config.h file though above
the BLCKSZ define with warning about monkeying around with it would
be a good idea.

Darren  darrenk@insightdist.com

(Also cleans up some of the #includes in files referencing BLCKSZ.)
==========================================
1998-01-13 04:05:12 +00:00
Marc G. Fournier f0445dcbc4 > It seems there is a mistake in substr function:
> then you try get substr, which consists only of last char in string
> you get all string
>
> For example:
> userbase=> select substr('123456', 6,1) ;
> substr
> ------
> 123456
> (1 row)
>

From Edmund Mergl <E.Mergl@bawue.de>
1998-01-13 03:49:51 +00:00
Marc G. Fournier fc7950993d Should fix it all, Peter? 1998-01-13 02:23:09 +00:00
Marc G. Fournier 06bad78075 Oops...missed over half the patch :( 1998-01-13 02:19:56 +00:00
Marc G. Fournier c77c608aa2 Upgrade to 0.76 1998-01-12 18:10:28 +00:00
Bruce Momjian f57cfa5e4d Html backend_dir cleanup 1998-01-12 14:41:38 +00:00
Bruce Momjian 1ea03f7de5 Manual page dash cleanup. 1998-01-11 22:18:01 +00:00
Marc G. Fournier e9fd73ca48 Fix from Peter for BLOBs 1998-01-11 21:16:01 +00:00
Marc G. Fournier ba977c086c Peter's Mega-Patch for JDBC...
see README_6.3 for list of changes
1998-01-11 21:14:56 +00:00
Bruce Momjian 4bad5be7bc Fix SCO and change index name. 1998-01-11 21:03:10 +00:00
Bruce Momjian 660f458d3b Clean up of copyfuncs. 1998-01-11 20:02:32 +00:00
Bruce Momjian f3dbe7356b psql help cleanup. 1998-01-11 04:36:28 +00:00
Bruce Momjian 40d55d2c0a Update psql help. 1998-01-11 04:17:01 +00:00
Bruce Momjian 600c958a30 Add UNION, GROUP, DISTINCT to INSERT. 1998-01-11 03:41:57 +00:00
Thomas G. Lockhart d70df16a76 Fix up for recent changes in elog error messages.
Some behavior of the triggers test cases changed for the least week or two;
 now back to the usual expected behavior.
1998-01-10 17:50:49 +00:00
Bruce Momjian 6cfa6cb95e Fix CLUSTER. 1998-01-10 05:19:22 +00:00
Bruce Momjian e6c714bf30 Bye CursorStmt, now use SelectStmt. 1998-01-10 04:30:11 +00:00
Bruce Momjian e7b205b486 Remove old quel labels. 1998-01-09 21:26:12 +00:00
Bruce Momjian ad8fa23727 Remove old quel labels. 1998-01-09 21:13:43 +00:00
Bruce Momjian 3d15d1332a Remove old quel labels. 1998-01-09 20:06:08 +00:00
Bruce Momjian bf8af2205b PAGER \z in psql. 1998-01-09 19:34:38 +00:00
Bruce Momjian 31a697bf92 Yohoo UNIONS of VIEWS. 1998-01-09 05:48:22 +00:00