summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-01-10Make number of args to a function configurable.Bruce Momjian
2000-01-10Rename oid8 -> oidvector and int28 -> int2vector. Cleanup of *out functions.Bruce Momjian
2000-01-10Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian
properly.
2000-01-10Improve cache invalidation handling. EespeciallyHiroshi Inoue
this would fix TODO * elog() flushes cache, try invalidating just entries from current xact, perhaps using invalidation cache
2000-01-10Fix oid8in and int28in for spacesBruce Momjian
2000-01-10Move fixes for >8 indexed fields.Bruce Momjian
2000-01-10Move INDEX_MAX_KEYS to postgres.h, and make it configurable for users.Bruce Momjian
2000-01-10Repair subtle VACUUM bug that led to 'HEAP_MOVED_IN was not expected'Tom Lane
errors. VACUUM normally compacts the table back-to-front, and stops as soon as it gets to a page that it has moved some tuples onto. (This logic doesn't make for a complete packing of the table, but it should be pretty close.) But the way it was checking whether it had got to a page with some moved-in tuples was to look at whether the current page was the same as the last page of the list of pages that have enough free space to be move-in targets. And there was other code that would remove pages from that list once they got full. There was a kluge that prevented the last list entry from being removed, but it didn't get the job done. Fixed by keeping a separate variable that contains the largest block number into which a tuple has been moved. There's no longer any need to protect the last element of the fraged_pages list. Also, fix NOTICE messages to describe elapsed user/system CPU time correctly.
2000-01-09Update platform-specific-expected-file support so that platforms can beTom Lane
specified by regular-expression patterns. Add some more files.
2000-01-09install_plpgsql is no longer a regress test (it's done via createlang);Tom Lane
remove the no-longer-used files.
2000-01-09Add SetPidFile() and friends.Tatsuo Ishii
2000-01-09Do not start if postmaster is running.Tatsuo Ishii
2000-01-09Move SetPidFile() and firends to utils/init/miscinit.c fromTatsuo Ishii
postmaster/postmaster.c so that tcop/postgres.c can use them. Now we have an interlock between postmaster and postgres.
2000-01-09Move SetPidFile() and firends to utils/init/miscinit.c so thatTatsuo Ishii
tcop/postgres.c can use them. Now we have an interlock between postmaster and postgres.
2000-01-09Add more portability to echo -n (code stolen from createlang)Tatsuo Ishii
Do not start postmaster if postgres is running
2000-01-09New scheme for managing platform-specific regress test result files.Tom Lane
Instead of hard-wiring one result file per platform, there is a map file 'resultmap' that says which one to use --- a lot like template/.similar. I have only created entries in resultmap for my own platform (HPUX) so far; feel free to add lines for other platforms.
2000-01-09Remove obsolete platform-specific comparison files.Tom Lane
2000-01-09First examples of multiplatform result comparison files.Tom Lane
2000-01-09Remove obsolete platform-specific regress test comparison files.Tom Lane
Note: don't put any of these back till you've grokked the new code for platform-specific comparisons that I'm about to commit...
2000-01-09Remove CVS $Header lines from a couple of regress test files that hadTom Lane
them --- it is just *way* too painful to keep expected results in sync when these are present.
2000-01-09Update remaining tests for new psql, with the exception of 'arrays'.Tom Lane
2000-01-09Update remaining tests for new psql, with the exception of 'arrays',Tom Lane
which is broken in some weird way that I don't understand. I think it may be exposing a bug in the new psql --- for one thing, I get different results when I run psql by hand than the regress script gets. What the heck???
2000-01-09Fix some missing substitutions of _OBJWD_ and _DLSUFFIX_.Tom Lane
2000-01-09Another round of planner/optimizer work. This is just restructuring andTom Lane
code cleanup; no major improvements yet. However, EXPLAIN does produce more intuitive outputs for nested loops with indexscans now...
2000-01-08This patch removes the initialization of ri in loop inBruce Momjian
quote_postgres(...) in ecpglib.c. The code in CVS reads: quote_postgres(char *arg, int lineno) { char *res = (char *) ecpg_alloc(2 * strlen(arg) + 3, lineno); int i, ri = 0; if (!res) return (res); res[ri++] = '\''; for (i = 0, ri=0; arg[i]; i++, ri++) { switch (arg[i]) { case '\'': res[ri++] = '\''; break; case '\\': res[ri++] = '\\'; break; default: ; } The problem here is that ri is reset to 0, thus overwriting the initial quote. Stephen Birch
2000-01-08Modify PageIsEmpty and PageGetMaxOffsetNumber macros to behave sanelyTom Lane
if presented an uninitialized (all zeroes) page. The system no longer crashes hard if an all-zeroes page is present in a relation. There seem to be some boundary conditions where a page will be appended to a relation and zeroed, but its page header is never initialized; until we can track down and fix all of those, robustness seems like a good idea. Also, clean up some obsolete and downright wrong comments.
2000-01-08Need defense against oversize index entries in btree CREATE INDEX,Tom Lane
as well as when inserting entries into an existing index.
2000-01-07Sorry, that I send this letter/patch again, but previous sending isBruce Momjian
still without answer. I want continue with to_char(), but I need any answer for this patch. Please. Thank! (and sorry of my impatient :-) Karel
2000-01-07Correct grammatical errorTatsuo Ishii
2000-01-07*** empty log message ***Michael Meskes
2000-01-06Update pg_dumpall for new psql format.Bruce Momjian
2000-01-06Changed "triggered data change violation" detection codeJan Wieck
in trigger manager. Jan
2000-01-06Fixed bug in targetlist expression replacement ofJan Wieck
SET DEFAULT referential action triggers. Jan
2000-01-06Clean up header for uniform appearance throughout tests.Thomas G. Lockhart
2000-01-06Update for new psql formatting.Thomas G. Lockhart
2000-01-06Freshen up the banner displayed when running the regression test.Thomas G. Lockhart
2000-01-05Fix it's and its to be correct.Bruce Momjian
2000-01-05Update format to add uniform headers on files.Thomas G. Lockhart
2000-01-05Update format to add uniform headers on files.Thomas G. Lockhart
Update output to new psql conventions.
2000-01-05Update output to new psql conventions.Thomas G. Lockhart
2000-01-05Fix spaces in text message.Thomas G. Lockhart
2000-01-05Clean up format of tests.Thomas G. Lockhart
Remove older "::" type coersion syntax in favor of extended SQL92 style. Include a few new tests for datetime/timespan arithmetic.
2000-01-05Verified output from new psql.Thomas G. Lockhart
Include a few new tests for datetime/timespan arithmetic.
2000-01-05Move numeric test to be near other numeric data types like int4 and float8.Thomas G. Lockhart
2000-01-04Clean up syntax to use SQL92-ish type coersionThomas G. Lockhart
rather than the Postgres "::" notation. All of these tests have been completely inspected and give correct results.
2000-01-04Match results with format from new psql.Thomas G. Lockhart
All of these tests have been completely inspected and give correct results.
2000-01-04Repair two recently reported problems:Thomas G. Lockhart
1) datetime_pl_span() added the seconds field before adding the months field. This lead to erroneous results for e.g. select datetime '1999-11-30' + timespan '1 mon - 1 sec'; Reverse the order of operations to add months first. 2) tm2timespan() did all intermediate math as integer, converting to double at the very end. This resulted in hidden overflows when given very large integer days, hours, etc. For example, select '74565 days'::timespan; produced the wrong result. Change code to ensure that doubles are used for intermediate calculations. Thanks to Olivier PRENANT <ohp@pyrenet.fr> and Tulassay Zsolt <zsolt@tek.bke.hu> for problem reports and to Tom Lane for accurate analyses.
2000-01-02Update DATEDEBUG removal.Bruce Momjian
2000-01-02Update length of timestamp to 30.Bruce Momjian
2000-01-02Remove DATEDEBUG because it didn't look Y2K safe, and fix timestamp elogBruce Momjian
to be Y2K safe.