Bruce Momjian
726c3854cb
Inline fastgetattr and others so data access does not use function
...
calls.
1998-01-31 04:39:26 +00:00
Marc G. Fournier
2df6bba3ca
From: PostgreSQL DataBase <postgres@scuba.pcpipeline.com>
...
This again fixes the problem
with the default permissions for PUBLIC and the preventing of
statements like "GRANT null on test to test_user;".
1998-01-30 15:03:35 +00:00
Marc G. Fournier
b7ed95ae15
don't forget to 'template' i386_solaris
1998-01-29 17:16:02 +00:00
Marc G. Fournier
8e789e8ef1
From: Phil Thompson <phil@river-bank.demon.co.uk>
...
Attached is the patch to fix the warning messages from my code. I also
fixed one which wasn't my code. Apart from the usual warnings about the
bison/yacc generated code I only have one other warning message. This
is in gramm.y around line 2234. I wasn't sure of the fix.
I've also replaced all the calls to free() in gramm.y to calls to
pfree(). Without these I was getting backend crashes with GRANT. This
might already have been fixed.
1998-01-29 03:24:36 +00:00
Marc G. Fournier
2780576e36
From: "Pedro J. Lobo" <pjlobo@euitt.upm.es>
...
I've patched pg_dump.c and createdb to add support for password
authentication, using the '-u' switch as in psql. I have updated also the
man pages.
1998-01-29 02:26:47 +00:00
Bruce Momjian
0427469f57
psql \df cleanup and lock manual page cleanup.
1998-01-28 20:44:42 +00:00
Marc G. Fournier
7fc4c76edb
Someone wants to try a Cynus port....
1998-01-28 12:45:44 +00:00
Bruce Momjian
0ff43badd5
Lock cleanup
1998-01-28 06:52:58 +00:00
Marc G. Fournier
8a02b22e89
From: Peter T Mount <patches@maidast.demon.co.uk>
...
This has a problem when using any authentication other than trust or
ident.
Anything using libpq will hang, because the client will go into a loop
while connecting. The following patch simply comments out two lines (a do
and a while), removing the loop. Going through the new scheme, I can't see
why this do..while loop is in there.
1998-01-28 03:42:27 +00:00
Bruce Momjian
8abd424369
More deadlock code to check for escallation locks.
...
offsetof() addition to local socket size.
1998-01-28 02:29:40 +00:00
Bruce Momjian
54399bb2f9
dummyret cleanup
1998-01-27 15:57:41 +00:00
Bruce Momjian
b65847b84e
Reversed out group by patch.
1998-01-27 15:41:32 +00:00
Bruce Momjian
b4564a98fa
Deadlock ceallnup.
...
(void) change for aix and hp compilers.
protocol cleanup.
1998-01-27 15:35:30 +00:00
Marc G. Fournier
f49d41353d
This should fix Stan's USE_POSIX_SIGNALS problem as well
1998-01-27 05:04:35 +00:00
Marc G. Fournier
9efbe8d761
From what I can tell, -DNOFIXADE does absolutely nothing under HP/ux
1998-01-27 05:03:15 +00:00
Marc G. Fournier
7aeda9d667
add CC:cc so that configure uses cc on non-gcc machine
...
From: Stan Brown <stanb@awod.com>
1998-01-27 05:02:11 +00:00
Bruce Momjian
0519a96546
Fix local domain structure size computation.
1998-01-27 04:08:28 +00:00
Marc G. Fournier
c4213aede1
From: Phil Thompson <phil@river-bank.demon.co.uk>
...
Cleanup patches for previous protocol changes patch
1998-01-27 03:25:14 +00:00
Bruce Momjian
7c3dc8f772
Protocol cleanup from Phil.
1998-01-27 03:11:46 +00:00
Bruce Momjian
862927f443
Real deadlock detection.
1998-01-27 03:00:43 +00:00
Marc G. Fournier
0e91367109
Try this to fix HP/UX port compile
1998-01-26 02:48:36 +00:00
Marc G. Fournier
90fb23e692
#include <sys/types.h> required for u_long in <netinet/in.h>
1998-01-26 01:55:05 +00:00
Marc G. Fournier
16a20c53dc
#include <sys/types.h> required for u_long
1998-01-26 01:49:19 +00:00
Marc G. Fournier
d5bbe2aca5
From: Phil Thompson <phil@river-bank.demon.co.uk>
...
I've completed the patch to fix the protocol and authentication issues I
was discussing a couple of weeks ago. The particular changes are:
- the protocol has a version number
- network byte order is used throughout
- the pg_hba.conf file is used to specify what method is used to
authenticate a frontend (either password, ident, trust, reject, krb4
or krb5)
- support for multiplexed backends is removed
- appropriate changes to man pages
- the -a switch to many programs to specify an authentication service
no longer has any effect
- the libpq.so version number has changed to 1.1
The new backend still supports the old protocol so old interfaces won't
break.
1998-01-26 01:42:53 +00:00
Bruce Momjian
91d983aa11
cash_words_out fix
1998-01-26 01:01:37 +00:00
Marc G. Fournier
20e11f2909
From: Darren King <darrenk@insightdist.com>
...
I have always been under the impression that NULL is not equal to
NULL and that NULL is not equal to anything else either. If this
is the case, then this patch is correct.
If NULL _is_ equal to NULL, then I think there are other problems
in the Group By logic.
1998-01-26 00:21:02 +00:00
Bruce Momjian
d57753efd4
Add cash_words_out and fix \df width.
1998-01-25 20:23:40 +00:00
Marc G. Fournier
594aae99ae
From: todd brandys <brandys@eng3.hep.uiuc.edu>
...
o The manual (really text) pages for create/alter/drop user.
1998-01-25 07:42:02 +00:00
Marc G. Fournier
9f8d3b668b
this is to help someone that wants an AUX port get started...
1998-01-25 07:08:31 +00:00
Marc G. Fournier
b611fefa0f
Patch to document the /etc/psqlrc / ~/.psqlrc config files
...
From: <Dr. Andrew C.R. Martin> martin@biochem.ucl.ac.uk
1998-01-25 06:12:52 +00:00
Marc G. Fournier
753f720cb8
Merge in D'Arcy Cain's python interface (PyGreSQL 2.0)
1998-01-25 06:09:40 +00:00
Marc G. Fournier
98018c4b93
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
...
Small patch for sparc solaris/tas()
1998-01-25 05:23:59 +00:00
Marc G. Fournier
c58fb21bd4
From: Jeroen van Vianen <jeroenv@design.nl>
...
This patch solves the problem with multiple order by columns, with the
first one having NULL values.
1998-01-25 05:18:34 +00:00
Bruce Momjian
c16ebb0f67
getpid/pid cleanup
1998-01-25 05:15:15 +00:00
Marc G. Fournier
fc75484550
Somehow the 'comment' here got messed up
1998-01-25 05:04:21 +00:00
Marc G. Fournier
25a8c053e3
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
...
Hi -- a couple of small items concerning the January 23rd snapshot:
the inclusion of the Kerberos stuff in one Makefile, a "leading tab"
cleanup in another, and a fix for a typo in the configure script.
1998-01-25 04:14:36 +00:00
Marc G. Fournier
81dc201921
Wish ppl would make up their mnd :)
1998-01-25 04:12:28 +00:00
Marc G. Fournier
47ad8d1cf5
OOps...missed the second patch of patch two that uses pfree() instead of
...
free()
From: James Hughes <jamesh@interpath.com>
1998-01-25 04:10:32 +00:00
Marc G. Fournier
151a1238d2
This is the second of two patches required to fix the the grant and
...
revoke statements.
From: James Hughes <jamesh@interpath.com>
1998-01-25 04:08:54 +00:00
Marc G. Fournier
af32f4d5d3
Patch against src/backend/nodes/outfuncs.c.orig fixes backend crashes
...
when creating unique indexes.
From: James Hughes <jamesh@interpath.com>
1998-01-25 04:07:52 +00:00
Marc G. Fournier
49459d85a9
This patch fixes one of two problems with grant/revoke statements on the
...
Linux platform.
From: James Hughes <jamesh@interpath.com>
1998-01-25 04:07:00 +00:00
Bruce Momjian
7229513943
Fix prototypes so they don't look like function definitions.
1998-01-24 22:50:57 +00:00
Marc G. Fournier
27317a0d7c
More up to date scan.c
1998-01-24 19:40:56 +00:00
Bruce Momjian
0e8ac82c63
Fix a variety of locking problems like newer lock waiters getting
...
lock before older waiters, and having readlock people not share
locks if a writer is waiting for a lock, and waiting writers not
getting priority over waiting readers.
1998-01-23 22:16:48 +00:00
Marc G. Fournier
1de8926bbe
LOCK_LEVEL is defined in an i386_solaris system file, causing the compile
...
to break. renaming to PG_LOCK_LEVEL
1998-01-23 19:53:44 +00:00
Marc G. Fournier
b34c8ec3ec
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.
1998-01-23 19:22:24 +00:00
Marc G. Fournier
b8476a09fe
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
...
psql .psqlrc file startup(Andrew)
1998-01-23 19:21:11 +00:00
Marc G. Fournier
33de29fc45
Minor cleanups for i386_solaris port
1998-01-23 19:13:22 +00:00
Marc G. Fournier
e697082f00
A dummy file so that configure under solaris works
1998-01-23 18:58:00 +00:00
Bruce Momjian
661bb38812
Cleanup deadlock message.
1998-01-23 06:01:36 +00:00
Marc G. Fournier
c487962dd7
Fixes a free() problem under FreeBSD
...
Fixed pointed out by: jwieck@debis.com (Jan Wieck)
1998-01-23 02:31:18 +00:00
Bruce Momjian
7015dfef4b
Add LOCK command as DELETE FROM ... WHERE false.
1998-01-22 23:05:18 +00:00
Bruce Momjian
0fd8d60185
Allow \z to show sequences.
1998-01-22 18:50:22 +00:00
Bruce Momjian
ef06ec61e6
Small varlena cleanup.
1998-01-21 23:42:15 +00:00
Bruce Momjian
0f413d2dc2
Make subqueries rewrite properly.
1998-01-21 04:24:46 +00:00
Bruce Momjian
7e46348e62
FIx for regression-test found bug.
1998-01-20 22:55:25 +00:00
Bruce Momjian
7f31669bea
Add Var.varlevelup to code. More parser cleanup.
1998-01-20 22:12:17 +00:00
Bruce Momjian
412a5e6539
Parser cleanup.
...
Add lock to i386 asm.
1998-01-20 05:05:08 +00:00
Marc G. Fournier
8700377384
Start an openbsd port
1998-01-20 03:11:11 +00:00
Bruce Momjian
1316113ea3
Fix problem with nodes handling.
1998-01-19 18:11:10 +00:00
Bruce Momjian
3d24e75176
Added code so SubLinks make it to optimizer.
1998-01-19 05:48:55 +00:00
Bruce Momjian
588867bd7b
Create SubLink nodes in parser for Vadim.
1998-01-19 05:06:41 +00:00
Bruce Momjian
691dc282f8
Fix for SELECT INTO TABLE for varchar().
1998-01-19 02:37:51 +00:00
Marc G. Fournier
8169769ee5
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.
1998-01-17 23:39:35 +00:00
Marc G. Fournier
4aa861cabb
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.
1998-01-17 23:36:44 +00:00
Marc G. Fournier
2a29325cec
Must commit configure changes after patch to configure.in
1998-01-17 23:35:24 +00:00
Marc G. Fournier
36c1c94bca
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.
1998-01-17 23:33:58 +00:00
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
Bruce Momjian
8f125413b0
Cleanup of varchar.
1998-01-08 06:18:18 +00:00
Bruce Momjian
84ef6aae18
Re-install working varchar() with compress size.
1998-01-08 04:58:19 +00:00
Bruce Momjian
5fe090c559
Completion of varchar rollback.
1998-01-08 04:19:16 +00:00
Bruce Momjian
35be73027e
Cleanup of varchar.
1998-01-08 03:15:06 +00:00
Bruce Momjian
c098f309e3
Rollback varchar size change.
1998-01-08 03:05:01 +00:00
Bruce Momjian
1c9fcfb683
Fix for varchar I missed.
1998-01-07 22:08:23 +00:00
Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
1998-01-07 18:47:07 +00:00
Marc G. Fournier
7a2a7d436d
Wrap the function in and #ifdef, not the header files
...
Should fix an AIX compiler problem
1998-01-07 17:02:52 +00:00
Bruce Momjian
3f1b1db7c5
Cleanup of outnodes.
1998-01-07 15:40:17 +00:00
Bruce Momjian
e9dc636e0c
Cleanup of outnodes.
1998-01-07 15:32:47 +00:00
Bruce Momjian
c01a56daf5
Fix for views and outnodes.
1998-01-07 08:08:08 +00:00
Bruce Momjian
56466049d6
Cleanup of outnode stuff.
1998-01-07 05:54:11 +00:00
Bruce Momjian
c9d9fe7690
Cleanup of outnode stuff.
1998-01-07 05:50:41 +00:00
Bruce Momjian
a552a894eb
Cleanup of outnode stuff.
1998-01-07 05:42:47 +00:00
Bruce Momjian
1b9ab297f3
Change web page directions.
1998-01-07 03:48:29 +00:00
Bruce Momjian
e22b09c227
Fix sorting of multiple fields broken with UNION.
1998-01-06 23:58:05 +00:00
Bruce Momjian
4557c846de
Cleanup of sort nodes and use of strtoul .
1998-01-06 23:19:49 +00:00
Bruce Momjian
f439eb35b8
ABORT to ERROR in catalog/.
1998-01-06 19:42:33 +00:00
Bruce Momjian
845f82e541
Regression cleanup of WARN.
1998-01-06 19:25:19 +00:00
Bruce Momjian
9d00fbbeb0
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.
1998-01-06 18:53:02 +00:00
Bruce Momjian
42acc6e8c4
Move variable.c to commands/ and aclchk.c to catalog/.
1998-01-05 18:53:12 +00:00
Bruce Momjian
9db64857e0
Move variable.c to commands/ and aclchk.c to catalog/.
1998-01-05 18:43:18 +00:00
Bruce Momjian
deea69b90e
Change some ABORTS to ERROR. Add line number when COPY Failure.
1998-01-05 16:40:20 +00:00
Bruce Momjian
3d8820a364
Remove un-needed quotes from psql \d DEFAULT display.
1998-01-05 13:56:05 +00:00
Bruce Momjian
69cf5abe10
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 04:10:07 +00:00
Bruce Momjian
345641e498
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:45:54 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Bruce Momjian
0af9137f14
Add NOT NULL and DEFAULT to \d table.
1998-01-05 02:21:22 +00:00
Marc G. Fournier
0aa928764a
Various fixes NETBSD/sparc related
...
From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>
1998-01-04 19:13:04 +00:00
Bruce Momjian
a65e4484da
Fix for aggs on views and complex ones. I missed one file.
1998-01-04 04:53:50 +00:00
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
1998-01-04 04:31:43 +00:00
Marc G. Fournier
c629d3b9d6
need to include postgres.h before HAVE_DLD_H
...
need to include string.h for strdup()
From: Bryan Henderson <bryanh@giraffe-data.com>
1998-01-02 03:40:04 +00:00
Thomas G. Lockhart
8e3ccad128
Test for __ELF__ rather than LINUX_ELF in headers.
...
Comment-out dynamic link function declarations since they are all
provided by the system.
Should we bother continuing to support non-elf Linux systems??
1998-01-01 06:02:04 +00:00
Thomas G. Lockhart
e447a467fa
Remove declaration for -DLINUX_ELF since testing for __ELF__ in code.
1998-01-01 05:59:24 +00:00
Thomas G. Lockhart
37f17d39c1
Define text_substr().
...
Change declarations from "struct varlena *" to "text *".
Remove register variables since compiler should do better on its own.
1998-01-01 05:50:50 +00:00
Thomas G. Lockhart
a343b2e713
Coerce a function argument to avoid compiler warning.
1998-01-01 05:48:14 +00:00
Thomas G. Lockhart
439fb6c4fb
Include text_substr() function and use instead of oracle_compat equivalent.
1998-01-01 05:47:11 +00:00
Thomas G. Lockhart
fcabd0753c
Change precedence for boolean operators to match expected behavior.
...
Change NOTICE/NOTICE/NOTICE/WARN elog messages to a single message
with a few newline/tab breaks embedded in the string. Much cleaner I hope.
1998-01-01 05:44:54 +00:00
Thomas G. Lockhart
cc19151e3b
Add substring function for text based on oracle_compat package but
...
closer to standard behavior.
Substitute "text *" for "struct varlena *" in declarations.
1998-01-01 05:42:40 +00:00
Thomas G. Lockhart
1ac6d462b2
Bracket #define sigsetjmp() to avoid redefinition. Linux starts out with
...
sigsetjmp as a macro, so gives compiler warning without bracketing.
1998-01-01 05:40:28 +00:00
Thomas G. Lockhart
b180144545
Include SPI module when cleaning.
1998-01-01 05:37:29 +00:00
Marc G. Fournier
0d48d4f3be
Missed a subst() for the RANDOM substritution...
1997-12-31 03:51:17 +00:00
Marc G. Fournier
d82f2f1f93
Change @RANDOM@ to @MISSING_RANDOM@ because of bash
1997-12-30 04:08:55 +00:00
Marc G. Fournier
42a3c46b4e
Oops, missed adding a file
...
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1997-12-30 04:03:01 +00:00
Marc G. Fournier
8a0967a3b1
bring in alpha/linux s_lock changes
...
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1997-12-30 04:01:28 +00:00
Marc G. Fournier
3c1332e573
Slightly delayed patches from Todd...damn holidays :)
...
o A new patch that contains the following changes:
-- The pg_pwd file is now cached in the postmaster's memory.
-- pg_pwd is reloaded when the postmaster detects a flag file creat()'ed
by a backend.
-- qsort() is used to sort loaded password entries, and bsearch() is
is used to find entries in the pg_pwd cache.
-- backends now copy the pg_user relation to pg_pwd.pid, and then
rename the temp file to be pg_pwd.
-- The delimiter for pg_pwd has been changed to a tab character.
1997-12-30 02:26:56 +00:00
Bruce Momjian
a544b605e2
Change some mallocs to palloc.
1997-12-29 05:13:57 +00:00
Bruce Momjian
a1dd409053
Fix for ORDER BY in UNION.
1997-12-29 04:31:50 +00:00
Bruce Momjian
499b13c994
UNION cleanup again.
1997-12-29 02:09:54 +00:00
Bruce Momjian
a01b085c78
Cleanup of UNION ALL fix. Manual page updates.
1997-12-29 01:13:37 +00:00
Bruce Momjian
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +00:00
Marc G. Fournier
2730c4a45c
Knew I missed somewhere...remove PORTNAME references from GNUmakefile.in, since
...
PORTNAME should not be used anywhere anymore...I hope :)
1997-12-26 22:35:53 +00:00
Vadim B. Mikheev
031f471f44
Prototypes for new funcs.
1997-12-26 08:45:27 +00:00
Vadim B. Mikheev
d8949adc20
Cleaning GCC warnings.
1997-12-26 06:02:26 +00:00
Vadim B. Mikheev
c06ecfb456
extern char* crypt_getpwdfilename(void);
...
^^^^ gcc likes this
1997-12-26 05:51:51 +00:00
Bruce Momjian
6231e161c9
Implementation of UNIONs.
1997-12-24 06:06:58 +00:00
Bruce Momjian
18adbd9aed
Reverse out Thomas's group clause change.
1997-12-23 21:49:03 +00:00
Bruce Momjian
bbd5c21786
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
1997-12-23 21:38:53 +00:00
Thomas G. Lockhart
6b2e7e12be
Add newline/tab to middle of long failure message to pretty it up a bit.
1997-12-23 20:00:06 +00:00
Thomas G. Lockhart
e8783d4af0
Change field name in RetrieveStmt from selectClause to unionClause.
...
Add unionall boolean field to SubSelect structure.
1997-12-23 19:58:12 +00:00
Thomas G. Lockhart
0c714ea9ae
Lengthen some time conversion routine names now that longer names
...
(> 16 characters) are allowed in pg_proc (thanks Bruce!).
1997-12-23 19:55:51 +00:00
Thomas G. Lockhart
2119b523c5
Fix numeric comparision (... != NULL) to be (... > 0). gcc is happier now.
...
Add non-working code which is commented-out to copy GroupClause structures.
1997-12-23 19:53:30 +00:00
Thomas G. Lockhart
12d5c30c8c
Add routines to print AExpr, Ident, and AConst parsing structures.
1997-12-23 19:50:54 +00:00
Thomas G. Lockhart
2c833a728f
Implement CREATE TABLE ... AS SELECT borrowing code from SubSelect
...
and from SELECT ... INTO ... support code.
Allow NOT, IS NULL, IS NOT NULL in constraints.
Define unionall boolean flag in SubSelect structure.
Implement row descriptors: (a, b, c) = (x, y, z).
Change IS TRUE, IS FALSE, etc. to expressions using "=" rather than
function calls to istrue() or isfalse() to allow optimization.
Force type for TRUE and FALSE to bool.
1997-12-23 19:47:32 +00:00
Thomas G. Lockhart
8ed721ffef
Change variable name reference from selectClause to more appropriate unionClause.
...
Add a few lines of test code playing with the unique flag for unions.
Does not do much helpful yet.
1997-12-23 19:39:42 +00:00
Thomas G. Lockhart
98f5975cb0
Fix up some elog error messages.
1997-12-23 19:36:20 +00:00
Thomas G. Lockhart
7c682b46c9
Expand a few date/time routine names to > 16 characters now that this
...
is legal. Fix a little whitespace in other declarations.
1997-12-23 19:29:15 +00:00
Thomas G. Lockhart
ca23837ade
Fix format to produce actual German style. Affects new "GERMAN" feature only.
1997-12-23 19:26:31 +00:00
Thomas G. Lockhart
ed14f88512
Change logic slightly to avoid one unnecessary calculation. No big deal.
1997-12-23 19:24:43 +00:00
Thomas G. Lockhart
c06331a47d
Change a few routine names back to full length now that pg_proc allows
...
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
1997-12-23 19:23:09 +00:00
Bruce Momjian
e4bd9127cb
Remove regression in function.
1997-12-23 03:27:23 +00:00
Bruce Momjian
3827555869
Fix notty output to show status result. -q option still turns it off.
1997-12-22 20:03:53 +00:00
Bruce Momjian
ad43a7219c
Fix for test 0 error.
1997-12-22 05:56:43 +00:00
Bruce Momjian
d404f1006b
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
1997-12-22 05:42:25 +00:00
Bruce Momjian
78a055a659
Remove some recursion in optimizer and clean up some code there.
1997-12-21 05:18:48 +00:00
Marc G. Fournier
0808e658a7
Potential fix for Bruce's "test" problem
1997-12-20 18:36:26 +00:00
Bruce Momjian
7fd4782504
Fix aggregates on inherited tables.
1997-12-20 07:59:44 +00:00
Marc G. Fournier
1783963cab
Move more to dynloader subdir
1997-12-20 04:48:11 +00:00
Marc G. Fournier
44be631dd8
Make sure distclean works as well as clean
1997-12-20 04:43:20 +00:00
Marc G. Fournier
3cc95146c4
Missed a HAVE_
1997-12-20 04:26:27 +00:00
Marc G. Fournier
9a60a20f99
fix so that dynloader.h is included instead of port-protos.h
1997-12-20 04:13:31 +00:00
Marc G. Fournier
a38bd20b83
Fix use of variable in Makefile.in
1997-12-20 04:10:35 +00:00