- 04 7月, 2000 3 次提交
-
-
由 Vadim B. Mikheev 提交于
-
由 Tom Lane 提交于
-
由 Jan Wieck 提交于
WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan
-
- 03 7月, 2000 2 次提交
-
-
由 Vadim B. Mikheev 提交于
-
由 Bruce Momjian 提交于
regression tests). Chris Bitmead
-
- 01 7月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
Don't use DISABLE_COMPLEX_MACRO on Solaris. Don't define the replacement function in the header file. Use -KPIC, not -K PIC. Use CC to link C++ libraries, not ld/ar. Eliminate file not found warnings in tcl build code.
-
- 19 6月, 2000 2 次提交
-
-
由 Tom Lane 提交于
entries now for int8 and network hash indexes. int24_ops and int42_ops are gone. pg_opclass no longer contains multiple entries claiming to be the default opclass for the same datatype. opr_sanity regress test extended to catch errors like these in the future.
-
由 Tom Lane 提交于
materialized tupleset is small enough) instead of a temporary relation. This was something I was thinking of doing anyway for performance, and Jan says he needs it for TOAST because he doesn't want to cope with toasting noname relations. With this change, the 'noname table' support in heap.c is dead code, and I have accordingly removed it. Also clean up 'noname' plan handling in planner --- nonames are either sort or materialize plans, and it seems less confusing to handle them separately under those names.
-
- 15 6月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 13 6月, 2000 1 次提交
-
-
由 Tom Lane 提交于
functions that take pass-by-value datatypes. Should be ready for port testing ...
-
- 09 6月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 05 6月, 2000 1 次提交
-
-
由 Tom Lane 提交于
inputs have been converted to newstyle. This should go a long way towards fixing our portability problems with platforms where char and short parameters are passed differently from int-width parameters. Still more to do for the Alpha port however.
-
- 02 6月, 2000 1 次提交
-
-
由 Vadim B. Mikheev 提交于
-
- 30 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
fmgr_faddr() in favor of new-style calls. Lots of cleanup of sloppy casts to use XXXGetDatum and DatumGetXXX ...
-
- 29 5月, 2000 1 次提交
-
-
由 Tom Lane 提交于
key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
-
- 22 5月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
project I am working on (Recall - a distributed, fault-tolerant, replicated, storage framework @ http://www.fault-tolerant.org). Recall is written in C++. I need to include the postgres headers and there are some problems when including the headers w/C++. Attached is a patch generated from postgres/src that fixes my problems. I was hoping to get this into the main source. It's very small (2k) and 3 files are changed: backend/utils/fmgr/fmgr.c, backend/utils/Gen_fmgrtab.sh.in, and include/access/tupdesc.h. In C++, you get a multiply defined symbol because the variable (FmgrInfo *fmgr_pl_finfo) is defined in the header (the patch moves it to the .c file). The other problem in tupdesc.h is the use of typeid is a problem in c++ (I renamed it to oidtypeid). Thanks, Neal Norwitz
-
- 13 4月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 17 3月, 2000 1 次提交
-
-
由 Tom Lane 提交于
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
-
- 15 3月, 2000 1 次提交
-
-
由 Tom Lane 提交于
so that the fmgr lookup only has to happen once per index scan and not once per tuple. Seems to save 5% or so of CPU time for an indexscan.
-
- 21 2月, 2000 1 次提交
-
-
由 Tom Lane 提交于
performance in catcache lookups.
-
- 18 2月, 2000 1 次提交
-
-
由 Tom Lane 提交于
appropriate btree three-way comparison routine. Not clear why the three-way comparison routines were being used in some paths and not others in btree --- incomplete changes by someone long ago, maybe? Anyway, this makes for a nice speedup in CREATE INDEX.
-
- 31 1月, 2000 1 次提交
-
-
由 Tom Lane 提交于
syscache and relcache flushes). Relcache entry rebuild now preserves original tupledesc, rewrite rules, and triggers if possible, so that pointers to these things remain valid --- if these things change while relcache entry has positive refcount, we elog(ERROR) to avoid later crash. Arrange for xact-local rels to be rebuilt when an SI inval message is seen for them, so that they are updated by CommandCounterIncrement the same as regular rels. (This is useful because of Hiroshi's recent changes to process our own SI messages at CommandCounterIncrement time.) This allows simplification of some routines that previously hacked around the lack of an automatic update. catcache now keeps its own copy of tupledesc for its relation, rather than depending on the relcache's copy; this avoids needing to reinitialize catcache during a cache flush, which saves some cycles and eliminates nasty circularity problems that occur if a cache flush happens while trying to initialize a catcache. Eliminate a number of permanent memory leaks that used to happen during catcache or relcache flush; not least of which was that catcache never freed any cached tuples! (Rule parsetree storage is still leaked, however; will fix that separately.) Nothing done yet about code that uses tuples retrieved by SearchSysCache for longer than is safe.
-
- 26 1月, 2000 1 次提交
-
-
由 Bruce Momjian 提交于
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 23 1月, 2000 1 次提交
-
-
由 Tom Lane 提交于
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
-
- 22 1月, 2000 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 11 1月, 2000 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-
- 30 12月, 1999 1 次提交
-
-
由 Tom Lane 提交于
relcache entry no longer leaks a small amount of memory. index_endscan now releases all the memory acquired by index_beginscan, so callers of it should NOT pfree the scan descriptor anymore.
-
- 21 12月, 1999 1 次提交
-
-
由 Jan Wieck 提交于
in regression tests. Jan
-
- 17 12月, 1999 1 次提交
-
-
由 Jan Wieck 提交于
Jan
-
- 24 11月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 23 10月, 1999 1 次提交
-
-
由 Tom Lane 提交于
pg_dump and interfaces/odbc still need some work.)
-
- 18 10月, 1999 1 次提交
-
-
由 Tom Lane 提交于
a generalized module 'tuplesort.c' that can sort either HeapTuples or IndexTuples, and is not tied to execution of a Sort node. Clean up memory leakages in sorting, and replace nbtsort.c's private implementation of mergesorting with calls to tuplesort.c.
-
- 11 10月, 1999 1 次提交
-
-
由 Hiroshi Inoue 提交于
Now WHERE restriction on ctid is allowed though it is sequentially scanned.
-
- 04 10月, 1999 1 次提交
-
-
由 Tom Lane 提交于
expressions in CREATE TABLE. There is no longer an emasculated expression syntax for these things; it's full a_expr for constraints, and b_expr for defaults (unfortunately the fact that NOT NULL is a part of the column constraint syntax causes a shift/reduce conflict if you try a_expr. Oh well --- at least parenthesized boolean expressions work now). Also, stored expression for a column default is not pre-coerced to the column type; we rely on transformInsertStatement to do that when the default is actually used. This means "f1 datetime default 'now'" behaves the way people usually expect it to. BTW, all the support code is now there to implement ALTER TABLE ADD CONSTRAINT and ALTER TABLE ADD COLUMN with a default value. I didn't actually teach ALTER TABLE to call it, but it wouldn't be much work.
-
- 27 9月, 1999 1 次提交
-
-
由 Vadim B. Mikheev 提交于
It doesn't work currently but also don't break anything -:)
-
- 19 9月, 1999 1 次提交
-
-
由 Tom Lane 提交于
additional argument specifying the kind of lock to acquire/release (or 'NoLock' to do no lock processing). Ensure that all relations are locked with some appropriate lock level before being examined --- this ensures that relevant shared-inval messages have been processed and should prevent problems caused by concurrent VACUUM. Fix several bugs having to do with mismatched increment/decrement of relation ref count and mismatched heap_open/close (which amounts to the same thing). A bogus ref count on a relation doesn't matter much *unless* a SI Inval message happens to arrive at the wrong time, which is probably why we got away with this sloppiness for so long. Repair missing grab of AccessExclusiveLock in DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi. Recommend 'make clean all' after pulling this update; I modified the Relation struct layout slightly. Will post further discussion to pghackers list shortly.
-
- 09 8月, 1999 1 次提交
-
-
由 Tom Lane 提交于
Also, move responsibility for calling vc_abort into main xact.c list of things-to-call-at-abort. What in the world was it doing down inside of TransactionIdAbort()?
-
- 19 7月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
approproate.
-
- 17 7月, 1999 1 次提交
-
-
由 Bruce Momjian 提交于
-