]>
granicus.if.org Git - postgresql/log
Marc G. Fournier [Fri, 23 Jan 1998 19:22:24 +0000 (19:22 +0000)]
From: James Hughes <jamesh@interpath.com>
This is a patch to fix crashes in psql when executing queries from
an external file. The code also adds error checking to verify that
memory for "query" was allocated. The conditional for the block of
code was changed from "query == NULL" to "query_alloced == false".
The conditional, "query == NULL", was never true. This prevented
the memory being allocated for "query". A few lines later, an attempt
to write to an un-allocated memory area generated a SIGSEGV causing
the frontend to crash.
Marc G. Fournier [Fri, 23 Jan 1998 19:21:11 +0000 (19:21 +0000)]
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
psql .psqlrc file startup(Andrew)
Marc G. Fournier [Fri, 23 Jan 1998 19:13:22 +0000 (19:13 +0000)]
Minor cleanups for i386_solaris port
Marc G. Fournier [Fri, 23 Jan 1998 18:58:00 +0000 (18:58 +0000)]
A dummy file so that configure under solaris works
Bruce Momjian [Fri, 23 Jan 1998 06:01:36 +0000 (06:01 +0000)]
Cleanup deadlock message.
Marc G. Fournier [Fri, 23 Jan 1998 02:31:18 +0000 (02:31 +0000)]
Fixes a free() problem under FreeBSD
Fixed pointed out by: jwieck@debis.com (Jan Wieck)
Bruce Momjian [Thu, 22 Jan 1998 23:05:18 +0000 (23:05 +0000)]
Add LOCK command as DELETE FROM ... WHERE false.
Bruce Momjian [Thu, 22 Jan 1998 18:50:22 +0000 (18:50 +0000)]
Allow \z to show sequences.
Bruce Momjian [Wed, 21 Jan 1998 23:42:15 +0000 (23:42 +0000)]
Small varlena cleanup.
Bruce Momjian [Wed, 21 Jan 1998 04:24:46 +0000 (04:24 +0000)]
Make subqueries rewrite properly.
Bruce Momjian [Tue, 20 Jan 1998 22:55:25 +0000 (22:55 +0000)]
FIx for regression-test found bug.
Bruce Momjian [Tue, 20 Jan 1998 22:12:17 +0000 (22:12 +0000)]
Add Var.varlevelup to code. More parser cleanup.
Bruce Momjian [Tue, 20 Jan 1998 05:05:08 +0000 (05:05 +0000)]
Parser cleanup.
Add lock to i386 asm.
Marc G. Fournier [Tue, 20 Jan 1998 03:11:11 +0000 (03:11 +0000)]
Start an openbsd port
Bruce Momjian [Mon, 19 Jan 1998 18:11:10 +0000 (18:11 +0000)]
Fix problem with nodes handling.
Bruce Momjian [Mon, 19 Jan 1998 05:48:55 +0000 (05:48 +0000)]
Added code so SubLinks make it to optimizer.
Bruce Momjian [Mon, 19 Jan 1998 05:06:41 +0000 (05:06 +0000)]
Create SubLink nodes in parser for Vadim.
Bruce Momjian [Mon, 19 Jan 1998 02:37:51 +0000 (02:37 +0000)]
Fix for SELECT INTO TABLE for varchar().
Marc G. Fournier [Sat, 17 Jan 1998 23:39:35 +0000 (23:39 +0000)]
From: "Michael J. Maravillo" <mmj@philonline.com>
This patch makes it possible to do a "real" make distclean (back to its
fresh state) on the distribution after compilation, regression testing,
etc.
Marc G. Fournier [Sat, 17 Jan 1998 23:36:44 +0000 (23:36 +0000)]
From: "Michael J. Maravillo" <mmj@philonline.com>
Also, I think the existence of pgsql/src/bin/initlocation/initlocation
isn't necessary as it's generated by Makefile from initlocation.sh.
Marc G. Fournier [Sat, 17 Jan 1998 23:35:24 +0000 (23:35 +0000)]
Must commit configure changes after patch to configure.in
Marc G. Fournier [Sat, 17 Jan 1998 23:33:58 +0000 (23:33 +0000)]
From: "Billy G. Allie" <Bill.Allie@mug.org>
The attached patches will allow postgreSQL to compile successfully on SCO
UNIXWARE 2.1.x. The patches fix the following problems:
1. Configure did not properly recognize the UNIXWARE system as needing the
univel port. It used the sys4 port.
2. Configure did not properly process the CC flag in the template file.
3. There was no working test and set locking implementation for the native
UNIXWARE compiler.
4. The test and set locking used for Intel X86 that was selected by defining
NEED_I386_TAS_ASM could fail in a multi-processor environment.
5. The makefiles for libpq and libpgtcl did not make a shared library for
the univel port.
Marc G. Fournier [Sat, 17 Jan 1998 23:17:46 +0000 (23:17 +0000)]
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.
Bruce Momjian [Sat, 17 Jan 1998 05:01:34 +0000 (05:01 +0000)]
Gram.y cleanup.
Bruce Momjian [Sat, 17 Jan 1998 04:53:46 +0000 (04:53 +0000)]
Creates the SubLink structure, and the Query->hasSubLink field,
with supporting code.
Creates SubLink node in gram.y.
psql.c patch for newatttypmod field.
Bruce Momjian [Fri, 16 Jan 1998 23:21:07 +0000 (23:21 +0000)]
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.
Bruce Momjian [Fri, 16 Jan 1998 05:03:45 +0000 (05:03 +0000)]
Temporary varchar patch.
Bruce Momjian [Thu, 15 Jan 1998 22:31:33 +0000 (22:31 +0000)]
Fix for aggreg problem and fmgr.c compile problems.
Marc G. Fournier [Thu, 15 Jan 1998 20:54:52 +0000 (20:54 +0000)]
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...
PostgreSQL Daemon [Thu, 15 Jan 1998 19:46:37 +0000 (19:46 +0000)]
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.
Bruce Momjian [Thu, 15 Jan 1998 19:00:16 +0000 (19:00 +0000)]
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;
Bruce Momjian [Wed, 14 Jan 1998 19:55:53 +0000 (19:55 +0000)]
Function cleanupo for List* when it should be Node *.
Bruce Momjian [Wed, 14 Jan 1998 15:48:51 +0000 (15:48 +0000)]
Cleanup of prototypes. FIx for PQtrace start/stop several times.
Marc G. Fournier [Tue, 13 Jan 1998 20:13:19 +0000 (20:13 +0000)]
this should pretty much clean up the i386_solaris port, with regression
tests running "as expected"...
Marc G. Fournier [Tue, 13 Jan 1998 19:28:39 +0000 (19:28 +0000)]
Various cleanups for the i386_solaris environment
Marc G. Fournier [Tue, 13 Jan 1998 19:22:29 +0000 (19:22 +0000)]
isinf() doesn't exist under i386_solaris, so code it such that
it is (!isnan() && !finite()) instead
Marc G. Fournier [Tue, 13 Jan 1998 19:04:39 +0000 (19:04 +0000)]
Oops, should be 'tas.o', not 'tas.s'
Marc G. Fournier [Tue, 13 Jan 1998 15:53:02 +0000 (15:53 +0000)]
MIssed a semi-colon in AC_LINK_FILES for i386_solaris port...
Marc G. Fournier [Tue, 13 Jan 1998 15:31:24 +0000 (15:31 +0000)]
Further clean up "auto-configuration" for ports
Marc G. Fournier [Tue, 13 Jan 1998 15:00:22 +0000 (15:00 +0000)]
Work on getting the i386_solaris compile to work ...
Vadim B. Mikheev [Tue, 13 Jan 1998 14:57:25 +0000 (14:57 +0000)]
Remove unused "option" from PQconnectdb().
Vadim B. Mikheev [Tue, 13 Jan 1998 14:56:15 +0000 (14:56 +0000)]
Remove PageSizeIsValid from BufferGetPageSize.
Vadim B. Mikheev [Tue, 13 Jan 1998 14:53:36 +0000 (14:53 +0000)]
extern char* crypt_getpwdreloadfilename(void);
^^^^
Marc G. Fournier [Tue, 13 Jan 1998 13:33:12 +0000 (13:33 +0000)]
Add a 'dummy' file for i386_solaris.c for configure
Marc G. Fournier [Tue, 13 Jan 1998 05:28:21 +0000 (05:28 +0000)]
Updated Regression output
Marc G. Fournier [Tue, 13 Jan 1998 04:43:22 +0000 (04:43 +0000)]
Have clean clean out the test directory also, as well as the Makefiles in
interfaces/{libpq,libpgtcl}
Marc G. Fournier [Tue, 13 Jan 1998 04:38:30 +0000 (04:38 +0000)]
A minor patch for HP/UX 10 vs 9
Marc G. Fournier [Tue, 13 Jan 1998 04:24:10 +0000 (04:24 +0000)]
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.
Marc G. Fournier [Tue, 13 Jan 1998 04:20:51 +0000 (04:20 +0000)]
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>
Marc G. Fournier [Tue, 13 Jan 1998 04:18:22 +0000 (04:18 +0000)]
Various fixes resulting from removing the PORTNAME defines
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
Marc G. Fournier [Tue, 13 Jan 1998 04:05:12 +0000 (04:05 +0000)]
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.)
==========================================
Marc G. Fournier [Tue, 13 Jan 1998 03:49:51 +0000 (03:49 +0000)]
> 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>
Marc G. Fournier [Tue, 13 Jan 1998 02:23:09 +0000 (02:23 +0000)]
Should fix it all, Peter?
Marc G. Fournier [Tue, 13 Jan 1998 02:19:56 +0000 (02:19 +0000)]
Oops...missed over half the patch :(
Marc G. Fournier [Mon, 12 Jan 1998 18:10:28 +0000 (18:10 +0000)]
Upgrade to 0.76
Bruce Momjian [Mon, 12 Jan 1998 14:41:38 +0000 (14:41 +0000)]
Html backend_dir cleanup
Bruce Momjian [Sun, 11 Jan 1998 22:18:01 +0000 (22:18 +0000)]
Manual page dash cleanup.
Marc G. Fournier [Sun, 11 Jan 1998 21:16:01 +0000 (21:16 +0000)]
Fix from Peter for BLOBs
Marc G. Fournier [Sun, 11 Jan 1998 21:14:56 +0000 (21:14 +0000)]
Peter's Mega-Patch for JDBC...
see README_6.3 for list of changes
Bruce Momjian [Sun, 11 Jan 1998 21:03:10 +0000 (21:03 +0000)]
Fix SCO and change index name.
Bruce Momjian [Sun, 11 Jan 1998 20:02:32 +0000 (20:02 +0000)]
Clean up of copyfuncs.
Bruce Momjian [Sun, 11 Jan 1998 04:36:28 +0000 (04:36 +0000)]
psql help cleanup.
Bruce Momjian [Sun, 11 Jan 1998 04:17:01 +0000 (04:17 +0000)]
Update psql help.
Bruce Momjian [Sun, 11 Jan 1998 03:41:57 +0000 (03:41 +0000)]
Add UNION, GROUP, DISTINCT to INSERT.
Thomas G. Lockhart [Sat, 10 Jan 1998 17:50:49 +0000 (17:50 +0000)]
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.
Bruce Momjian [Sat, 10 Jan 1998 05:19:22 +0000 (05:19 +0000)]
Fix CLUSTER.
Bruce Momjian [Sat, 10 Jan 1998 04:30:11 +0000 (04:30 +0000)]
Bye CursorStmt, now use SelectStmt.
Bruce Momjian [Fri, 9 Jan 1998 21:26:12 +0000 (21:26 +0000)]
Remove old quel labels.
Bruce Momjian [Fri, 9 Jan 1998 21:13:43 +0000 (21:13 +0000)]
Remove old quel labels.
Bruce Momjian [Fri, 9 Jan 1998 20:06:08 +0000 (20:06 +0000)]
Remove old quel labels.
Bruce Momjian [Fri, 9 Jan 1998 19:34:38 +0000 (19:34 +0000)]
PAGER \z in psql.
Bruce Momjian [Fri, 9 Jan 1998 05:48:22 +0000 (05:48 +0000)]
Yohoo UNIONS of VIEWS.
Bruce Momjian [Thu, 8 Jan 1998 06:18:18 +0000 (06:18 +0000)]
Cleanup of varchar.
Bruce Momjian [Thu, 8 Jan 1998 04:58:19 +0000 (04:58 +0000)]
Re-install working varchar() with compress size.
Bruce Momjian [Thu, 8 Jan 1998 04:19:16 +0000 (04:19 +0000)]
Completion of varchar rollback.
Bruce Momjian [Thu, 8 Jan 1998 03:15:06 +0000 (03:15 +0000)]
Cleanup of varchar.
Bruce Momjian [Thu, 8 Jan 1998 03:05:01 +0000 (03:05 +0000)]
Rollback varchar size change.
Bruce Momjian [Wed, 7 Jan 1998 22:08:23 +0000 (22:08 +0000)]
Fix for varchar I missed.
Bruce Momjian [Wed, 7 Jan 1998 21:07:04 +0000 (21:07 +0000)]
Goodbye ABORT. Hello ERROR for all errors.
Bruce Momjian [Wed, 7 Jan 1998 18:47:07 +0000 (18:47 +0000)]
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
Marc G. Fournier [Wed, 7 Jan 1998 17:02:52 +0000 (17:02 +0000)]
Wrap the function in and #ifdef, not the header files
Should fix an AIX compiler problem
Bruce Momjian [Wed, 7 Jan 1998 15:40:17 +0000 (15:40 +0000)]
Cleanup of outnodes.
Bruce Momjian [Wed, 7 Jan 1998 15:32:47 +0000 (15:32 +0000)]
Cleanup of outnodes.
Bruce Momjian [Wed, 7 Jan 1998 08:08:08 +0000 (08:08 +0000)]
Fix for views and outnodes.
Bruce Momjian [Wed, 7 Jan 1998 05:54:11 +0000 (05:54 +0000)]
Cleanup of outnode stuff.
Bruce Momjian [Wed, 7 Jan 1998 05:50:41 +0000 (05:50 +0000)]
Cleanup of outnode stuff.
Bruce Momjian [Wed, 7 Jan 1998 05:42:47 +0000 (05:42 +0000)]
Cleanup of outnode stuff.
Bruce Momjian [Wed, 7 Jan 1998 03:48:29 +0000 (03:48 +0000)]
Change web page directions.
Marc G. Fournier [Wed, 7 Jan 1998 02:33:46 +0000 (02:33 +0000)]
Short little FAQ for FreeBSD
Bruce Momjian [Tue, 6 Jan 1998 23:58:05 +0000 (23:58 +0000)]
Fix sorting of multiple fields broken with UNION.
Bruce Momjian [Tue, 6 Jan 1998 23:19:49 +0000 (23:19 +0000)]
Cleanup of sort nodes and use of strtoul .
Bruce Momjian [Tue, 6 Jan 1998 19:42:33 +0000 (19:42 +0000)]
ABORT to ERROR in catalog/.
Bruce Momjian [Tue, 6 Jan 1998 19:25:19 +0000 (19:25 +0000)]
Regression cleanup of WARN.
Bruce Momjian [Tue, 6 Jan 1998 18:53:02 +0000 (18:53 +0000)]
Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff.
Bruce Momjian [Mon, 5 Jan 1998 18:53:12 +0000 (18:53 +0000)]
Move variable.c to commands/ and aclchk.c to catalog/.
Bruce Momjian [Mon, 5 Jan 1998 18:43:18 +0000 (18:43 +0000)]
Move variable.c to commands/ and aclchk.c to catalog/.
Bruce Momjian [Mon, 5 Jan 1998 16:40:20 +0000 (16:40 +0000)]
Change some ABORTS to ERROR. Add line number when COPY Failure.
Bruce Momjian [Mon, 5 Jan 1998 13:56:05 +0000 (13:56 +0000)]
Remove un-needed quotes from psql \d DEFAULT display.
Bruce Momjian [Mon, 5 Jan 1998 04:10:07 +0000 (04:10 +0000)]
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Bruce Momjian [Mon, 5 Jan 1998 03:45:54 +0000 (03:45 +0000)]
Change elog(WARN) to elog(ERROR) and elog(ABORT).