Commit Graph

6981 Commits

Author SHA1 Message Date
Bruce Momjian
d888ca7c08 No grant on indexes. 2000-04-09 12:08:33 +00:00
Tom Lane
1f6d8b90b8 Buffer manager modifications to keep a local buffer-dirtied bit as well
as a shared dirtybit for each shared buffer.  The shared dirtybit still
controls writing the buffer, but the local bit controls whether we need
to fsync the buffer's file.  This arrangement fixes a bug that allowed
some required fsyncs to be missed, and should improve performance as well.
For more info see my post of same date on pghackers.
2000-04-09 04:43:20 +00:00
Tom Lane
9c38a8d296 Further tweaking of indexscan cost estimates. 2000-04-09 04:31:37 +00:00
Tom Lane
5db0ef84e6 Add explanation about 'Unrecognized variable client_encoding'
message at startup.
2000-04-08 23:32:34 +00:00
Bruce Momjian
321eedd0bf Document FSYNC in pg_options sgml file. 2000-04-08 23:12:01 +00:00
Bruce Momjian
9b7ba2002d Add new pg_options.sample file. 2000-04-08 19:38:00 +00:00
Tom Lane
bb7e5dc2c0 Tweak TypeCategory to treat new BIT types as of STRING category, rather
than not knowing what they are at all.  Perhaps they should have their own
type category?  Hard to say.  In the meantime, doing it this way allows
SELECT 'unknown' || 'unknown' to continue being resolved as textcat,
instead of spitting out an ambiguous-operator error.
2000-04-08 19:29:40 +00:00
Tom Lane
b64e768595 I think we want machine pattern i.86 not i386 --- looks like config.guess
could output several different high digits on most PC Unixen.
2000-04-08 19:20:10 +00:00
Bruce Momjian
949e8a662d Add colo to display at end of initdb. 2000-04-08 18:35:30 +00:00
Tom Lane
7ecf7eea63 Modify pgbench.c not to depend on configure, since it's not shipped with one. 2000-04-08 18:32:24 +00:00
Michael Meskes
d78feff973 *** empty log message *** 2000-04-08 12:20:27 +00:00
Tom Lane
607c6d25d7 Link already-existing COMMENT and REINDEX command docs into documentation. 2000-04-08 05:11:03 +00:00
Tom Lane
ed845c7374 Fix relcache refcount leakage when inv_drop is applied
to a non-LO relation.
2000-04-08 04:37:07 +00:00
Tom Lane
f0a2fc38ab Mention cube root. 2000-04-08 03:42:29 +00:00
Bruce Momjian
75b5915b43 update 2000-04-08 02:44:55 +00:00
Tom Lane
b99cdde0d7 Fix cross-references, update examples, copy-edit. 2000-04-08 02:39:02 +00:00
Thomas G. Lockhart
c264c4daeb Add reference page for pg_ctl. 2000-04-08 02:16:26 +00:00
Thomas G. Lockhart
9c075df519 Update some porting info.
Add mention of transcendental functions.
2000-04-08 02:16:08 +00:00
Thomas G. Lockhart
0337938fbf Add zpbit and varbit data types from Adrian Joubert
<a.joubert@albourne.com>.
2000-04-08 02:13:11 +00:00
Tom Lane
6a2d926933 Update for to_char change. 2000-04-08 02:02:26 +00:00
Tom Lane
fd0df5058a Tweak parallel test script so that command line options for postmaster
can be set via environment variable PMOPTIONS.  Default is -o -F.
2000-04-08 01:54:47 +00:00
Tom Lane
dc070fdea6 Add copyObject logic for TruncateStmt and a few other utility-statement
parse node types.  This allows these statements to be placed in a plpgsql
function.  Also, see to it that statement types not handled by the copy
logic will draw an appropriate elog(ERROR), instead of leaving a null
pointer that will cause coredump later on.  More utility statements could
be added if anyone felt like turning the crank.
2000-04-08 00:21:15 +00:00
Bruce Momjian
124875e879 More man updates to fix bad tags 2000-04-07 19:20:48 +00:00
Bruce Momjian
28fb1c196b Update create_rule manual page. 2000-04-07 19:17:51 +00:00
Marc G. Fournier
dce53f0dd5 resultmap additions for solaris x86 ... 2000-04-07 19:00:44 +00:00
Tom Lane
8dce894870 Use initdb --noclean so that test database is available for examination
if initdb fails.
2000-04-07 17:51:13 +00:00
Bruce Momjian
0df916e096 Again update of rule manual page. 2000-04-07 17:37:24 +00:00
Bruce Momjian
592b69056d Update rule examples 2000-04-07 17:35:08 +00:00
Bruce Momjian
d27a566583 Remove mention of INSTANCE rule system, because it is gone. 2000-04-07 17:23:11 +00:00
Thomas G. Lockhart
a349733bbb Add transcendental math functions (sine, cosine, etc)
Add a random number generator and seed setter (random(), SET SEED)
Fix up the interval*float8 math to carry partial months
 into the time field.
Add float8*interval so we have symmetry in the available math.
Fix the parser and define.c to accept SQL92 types as field arguments.
Fix the parser to accept SQL92 types for CREATE TYPE, etc. This is
 necessary to allow...
Bit/varbit support in contrib/bit cleaned up to compile and load
 cleanly. Still needs some work before final release.
Implement the "SOME" keyword as a synonym for "ANY" per SQL92.
Implement ascii(text), ichar(int4), repeat(text,int4) to help
 support the ODBC driver.
Enable the TRUNCATE() function mapping in the ODBC driver.
2000-04-07 13:40:45 +00:00
Thomas G. Lockhart
1b992b468b Document new SET SEED command. 2000-04-07 13:31:18 +00:00
Thomas G. Lockhart
30e355fc80 Fix path to initdb in installation instructions.
General cleanup for 7.0.
2000-04-07 13:30:58 +00:00
Thomas G. Lockhart
b2096a5512 Clean up directory to compile and run on my Linux box at least.
Note that there is some trouble with inconsistant input/output formats.
2000-04-07 13:28:37 +00:00
Vadim B. Mikheev
71b4790b6d Commebts & one check in EndEvalPlanQual(). 2000-04-07 07:24:47 +00:00
Tom Lane
e4d8d43c52 Fix (I hope) resource leakage in EvalPlanQual: open subplans must be
properly shut down in EndPlan, else we fail to free buffers and so forth
that they hold.
2000-04-07 00:59:17 +00:00
Tom Lane
891039c15f Partial fix for EvalPlanQual bugs reported by Magnus Hagander, 3-Apr.
Ensure that outer tuple link needed for inner indexscan qual evaluation
gets set in the EvalPlanQual case.  This stops coredump, but we still
have resource leaks due to failure to clean up EvalPlanQual properly...
2000-04-07 00:30:41 +00:00
Bruce Momjian
a25a490718 Update initdb display of postmaster startup 2000-04-06 18:27:01 +00:00
Bruce Momjian
65ea4f677f Allow vacuum of temporary tables 2000-04-06 18:12:07 +00:00
Bruce Momjian
6929459279 Add POLLUTE to interfaces/Makefile 2000-04-06 03:34:55 +00:00
Tom Lane
eace269b47 Repair assert failure in tuple-chain-moving logic (introduced by yours
truly, I'm afraid).
2000-04-06 00:29:51 +00:00
Bruce Momjian
7c6bac0071 Update vacuum to mention analyze 2000-04-05 21:51:11 +00:00
Michael Meskes
a7b1ff6619 *** empty log message *** 2000-04-05 15:51:28 +00:00
Bruce Momjian
6995c5fbad Please forget all I said about gcc and AIX in my previous mail.
It does work with the following patch applied and gcc 2.95.2 .

Use --with-template=aix_gcc to compile the whole lot with gcc.

The geometry regression test produces different precision.
With optimization I run into regression failures starting at oidjoins,
thus no -O2. Anybody else try gcc 2.95.2 and -O2 on beta4 ?

This is an important patch, since recent versions of the IBM compiler
are not for free, and thus most questions I get concern gcc.

Andreas

PS.: I am testing with beta4
2000-04-05 14:47:21 +00:00
Peter Eisentraut
15942b823a Solaris geometry results were out of sync with the input file 2000-04-05 11:02:28 +00:00
Michael Meskes
9fb20f105f *** empty log message *** 2000-04-05 09:05:40 +00:00
Bruce Momjian
5f39ba8142 Rename geometry.*bsdi to geo.*bsd. for Freebsd. 2000-04-05 02:36:41 +00:00
Marc G. Fournier
059f448766 freebsd 4.0 is like bsdi for geometry test ... 2000-04-05 02:25:11 +00:00
Marc G. Fournier
97db19c91c freebsd has *-freebsd and *-freebsdelf ... float8 passes with this 2000-04-05 02:08:29 +00:00
Tom Lane
5240c76729 Actually, that still wasn't quite right. If we skip a query because of
xact abort state in pg_exec_query_dest, we should continue scanning the
querytree list, on the off chance that one of the later queries in the
string is COMMIT or ROLLBACK.
2000-04-04 23:52:50 +00:00
Tom Lane
708f82f191 Fix bug noted by Bruce: FETCH in an already-aborted transaction block
would crash, due to premature invocation of SetQuerySnapshot().  Clean
up problems with handling of multiple queries by splitting
pg_parse_and_plan into two routines.  The old code would not, for
example, do the right thing with END; SELECT... submitted in one query
string when it had been in transaction abort state, because it'd decide
to skip planning the SELECT before it had executed the END.  New
arrangement is simpler and doesn't force caller to plan if only
parse+rewrite is needed.
2000-04-04 21:44:40 +00:00