Vadim B. Mikheev
0762deacec
Print 'Group' as name of Group plan.
1997-04-05 06:42:32 +00:00
Vadim B. Mikheev
e276d8a1a6
Can't COPY TO sequence relation.
...
Can't inherits from ...
1997-04-02 03:57:06 +00:00
Vadim B. Mikheev
e8647c45d6
Sequence numbers generators code.
1997-04-02 03:51:23 +00:00
Vadim B. Mikheev
1a3c7371e8
vc_getrels(p, VacRelP) returns NIL for special relations (indices,
...
sequences,...) and vc_delhilowstats(NULL->vrl_relid) ...
1997-04-02 03:48:01 +00:00
Vadim B. Mikheev
3be7ecb2e4
Disallow to create multi-column indices using non-btree.
1997-03-26 03:05:28 +00:00
Vadim B. Mikheev
aa1a887185
Fix call to index_create in DefineIndex.
1997-03-19 07:52:03 +00:00
Marc G. Fournier
e4949f9fe5
From: Dan McGuirk <mcguirk@indirect.com>
...
Subject: [HACKERS] better access control error messages
This patch replaces the 'no such class or insufficient privilege' with
distinct error messages that tell you whether the table really doesn't
exist or whether access was denied.
1997-03-12 20:48:48 +00:00
Bruce Momjian
ea36b0d3cd
Add missing paren.
1997-03-10 15:08:57 +00:00
Marc G. Fournier
977654d55b
Massimo's Deadlock patches w/o the #ifdefs
1997-03-10 00:18:09 +00:00
Bruce Momjian
766bdd2bb5
Vacuum cleanups from Massimo.
1997-03-09 23:29:15 +00:00
Bruce Momjian
d8023a00bd
Fix vacuum crash Vadim found.
1997-03-09 07:12:36 +00:00
Bruce Momjian
22cabc5514
Reverse patch for Vadims problem.
1997-03-07 00:59:05 +00:00
Bruce Momjian
da90363c12
Fix vacuum bug Vadim found with text fields.
1997-03-06 18:38:35 +00:00
Vadim B. Mikheev
74bd93d597
Not understandable fix of strange bug in vacuum statistic functions.
1997-03-06 11:41:09 +00:00
Bruce Momjian
e230c0b672
Clarify clearing of attribute stats memory.
1997-02-18 04:13:57 +00:00
Bruce Momjian
2300ac0dc4
Add attribute optimization statistics.
1997-02-07 16:24:12 +00:00
Vadim B. Mikheev
daf75276d4
New func _vc_scanoneind: scan one index relation to update statistic
...
in pg_class if no one page was reapped by vacuum.
1997-01-29 02:59:03 +00:00
Marc G. Fournier
37e8621623
The check should be for getrusage(), not rusage() ... change the defines
...
to reflect what configure is going to define when the time comes
1997-01-25 19:29:47 +00:00
Marc G. Fournier
60265ee651
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure
1997-01-24 23:48:32 +00:00
Bruce Momjian
84876289cc
Cast constants to the type of the other binary operand.
...
Invalidate vacuum relation cache to use new row counts from vacuum.
1997-01-22 01:44:02 +00:00
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