Bruce Momjian
bc18c38d1a
Prevent UNIQUE indexes for non-btree access methods.
1997-01-18 05:48:07 +00:00
Bruce Momjian
3a02ccfa1d
Change EXPLAIN options to just use VERBOSE.
1997-01-16 14:56:59 +00:00
Bruce Momjian
0d3bf78e0b
Added VERBOSE option to vacuum command.
1997-01-13 03:45:33 +00:00
Bruce Momjian
a5dd06f763
include sem.h added, include string.h neede, from Erik Bertelsen for Ultrix
1997-01-10 20:19:49 +00:00
Bruce Momjian
a0d9bdd99b
Massimo fix for non-existant file copy error.
1997-01-10 17:46:33 +00:00
Vadim B. Mikheev
c6a605705c
index_insert has now HeapRelation as last param (for unique index
...
implementation).
1997-01-10 10:00:39 +00:00
Bryan Henderson
e5ff0b930a
Add include of port-protos.h so it works on Ultrix. Thanks Erik Bertelson.
1997-01-08 08:31:07 +00:00
Vadim B. Mikheev
068a4c53af
Closing opened indices.
1997-01-05 10:58:15 +00:00
Bruce Momjian
1a395b7256
ALTER TABLE (text) fix
1997-01-02 06:18:25 +00:00
Bruce Momjian
765dd2a4c0
explain change
1996-12-29 19:31:16 +00:00
Bruce Momjian
4415e481ef
Improved EXPLAIN option handling.
1996-12-29 00:53:20 +00:00
Marc G. Fournier
194ed4efe5
More patches/documentation from: Massimo Dal Zotto <dz@cs.unitn.it>
1996-12-19 05:01:17 +00:00
Marc G. Fournier
07c8d9f0f3
COPY_PATCH...
...
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it >
1996-12-19 04:58:24 +00:00
Marc G. Fournier
f0bcb1762d
#ifdef ASYNC_DEBUG various sections of async.c
...
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it >
1996-12-19 04:54:56 +00:00
Vadim B. Mikheev
b555822fed
Unuseful tupDesc = CreateTupleDesc(attr_count, attr); in CopyFrom
...
is eliminated (now I can copy 2000000-table from file without memmory
exhausting).
1996-12-14 04:58:20 +00:00
Bryan Henderson
7439ba64b1
Use "Oid" type where applicable and %ud instead of %d. Thanks Darren King.
1996-12-11 03:18:12 +00:00
Bruce Momjian
c90c058bf0
Fix from Jan agreed with by Massimo.
1996-12-07 04:36:38 +00:00
Vadim B. Mikheev
e5fbe3017c
pname=NULL -> pname="" (stringinfo.c:appendStringInfo doesn't like NULL).
1996-12-03 05:50:11 +00:00
Bruce Momjian
63df35e249
This patch changes quite a few instances of references of Oid's
...
as ints and longs. Touches on quite a few function args as
well. Most other files look ok as far as Oids go...still checking
though...
Since Oids are type'd as unsigned ints, they should prolly be used
with the %ud format string in elog and sprintf messages. Not sure
what kind of strangeness that could produce.
Darren King
1996-11-30 18:07:02 +00:00
Bruce Momjian
87352726b2
Change end-of-line comma to semicolon.
1996-11-30 17:47:07 +00:00
Vadim B. Mikheev
03659a262e
Added: dynamic re-moving page from list of pages usable for shrinking
...
if its free-space < min_tuple_len.
1996-11-29 10:27:59 +00:00
Vadim B. Mikheev
c7cba5780f
Fix for "might be used uninitialized" warnings.
1996-11-28 04:37:38 +00:00
Vadim B. Mikheev
f0c5a6c614
Shrinking and other things.
1996-11-27 07:27:20 +00:00
Bruce Momjian
4b130b2209
Fix for Alter TABLE add column varchar(). Was causing zero length.
1996-11-17 04:23:10 +00:00
Bryan Henderson
7bf3bae1a4
Add #include <sys/types.h> so it works with Ultrix's in.h
1996-11-16 08:09:16 +00:00
Marc G. Fournier
07a65b2255
Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>
...
Changes:
* Unique index capability works using the syntax 'create unique
index'.
* Duplicate OID's in the system tables are removed. I put
little scripts called 'duplicate_oids' and 'find_oid' in
include/catalog that help to find and remove duplicate OID's.
I also moved 'unused_oids' from backend/catalog to
include/catalog, since it has to be in the same directory
as the include files in order to work.
* The backend tries converting the name of a function or aggregate
to all lowercase if the original name given doesn't work (mostly
for compatibility with ODBC).
* You can 'SELECT NULL' to your heart's content.
* I put my _bt_updateitem fix in instead, which uses
_bt_insertonpg so that even if the new key is so big that
the page has to be split, everything still works.
* All literal references to system catalog OID's have been
replaced with references to define'd constants from the catalog
header files.
* I added a couple of node copy functions. I think this was a
preliminary attempt to get rules to work.
1996-11-13 20:56:15 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Bruce Momjian
c9c0e111b8
More compile cleanups
1996-11-08 20:46:33 +00:00
Bryan Henderson
7886d7351e
Fix perbyte_cpu thing
1996-11-08 06:24:58 +00:00
Bruce Momjian
4b2b8592a0
Compile and warning cleanup
1996-11-08 06:02:30 +00:00
Marc G. Fournier
b38d565fc3
D'Arcy's recent cleanups
1996-11-08 00:46:14 +00:00
Marc G. Fournier
7385619f14
Clean it up so that it compiles
1996-11-06 08:21:43 +00:00
Marc G. Fournier
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
1996-11-06 06:52:23 +00:00
Marc G. Fournier
510ebf75a1
Another first pass at cleaning up the #includes
1996-11-03 23:57:43 +00:00
Bryan Henderson
d27c28fdc0
Allow only superuser to do backend copy.
1996-11-02 02:01:48 +00:00
Bryan Henderson
3341750769
Require superuser privilege to create C function.
1996-10-31 09:08:10 +00:00
Bruce Momjian
f59a46a8c8
Parser Overhaul
1996-10-30 02:02:41 +00:00
Bryan Henderson
b0d6f0aa63
Simplify make files, add full dependencies.
1996-10-27 09:55:05 +00:00
Marc G. Fournier
f36b2560a4
Major code cleanups from D'arcy (-Wall -Werror)
1996-10-23 07:42:13 +00:00
Marc G. Fournier
9a7fda57ee
-Wall'd
1996-10-21 09:37:26 +00:00
Vadim B. Mikheev
bc50067426
1. Reap deleted/unused tuples on page-base
...
2. Reap unused tuples too
3. Reap empty pages
4. Check if a page is initialized, initialize it if not
and reap it
5. Binary search in list of reapped pages/tids to check
is the heap' tid pointed by a index' tuple on this list
(it's mu-u-uch faster)
1996-10-18 08:13:36 +00:00
Marc G. Fournier
94e825145d
Document more #ifdef's into config.h
...
Get rid of ESCAPE_PATCH ifdef, as its on by default, and there is no
apparent reason for turning it off...it fixes a bug
1996-10-18 05:59:17 +00:00
Bruce Momjian
a433f22c24
Fix args to match prototype.
1996-10-05 20:30:31 +00:00
Bruce Momjian
aefb294e13
Added restriction to tables vacuum'able.
...
Added NOTICE messages for bad table names.
1996-10-03 20:11:41 +00:00
Bruce Momjian
267ef0a642
Allow vacuum to run for only one table. Fixes allocation bug.
1996-10-03 04:19:29 +00:00
Bruce Momjian
8f7756d796
palloc() finfo memory. From Kurt.
1996-09-26 16:29:05 +00:00
Bruce Momjian
adc98c0b35
Fix cluster finfo problem Kurt reported.
1996-09-26 15:43:35 +00:00
Marc G. Fournier
1ba34d91fc
Cleaned up a spurious '-' ...
...
Pointed out by: ernst.molitor@uni-bonn.de
1996-09-10 06:23:46 +00:00
Marc G. Fournier
870be9fa8e
Clean up th ecompile process by centralizing the include files
...
- code compile tested, but due to a yet unresolved problem with
parse.h's creation, compile not completed...
1996-08-28 07:27:54 +00:00
Marc G. Fournier
6196646291
Remove include of machine.h
1996-08-27 22:20:28 +00:00