summaryrefslogtreecommitdiff
path: root/src/backend/utils
AgeCommit message (Collapse)Author
2000-01-11More cleanups.Bruce Momjian
2000-01-11Remove outdated comment about 8 arguments.Tom Lane
2000-01-10Update type stuff.Bruce Momjian
2000-01-10Cleanup for func args > 8.Bruce Momjian
2000-01-10More updates for function call interface > 8.Bruce Momjian
2000-01-10Update fmgr to allow 32 arguments.Bruce Momjian
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-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-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-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-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-05Fix it's and its to be correct.Bruce Momjian
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-02Remove DATEDEBUG because it didn't look Y2K safe, and fix timestamp elogBruce Momjian
to be Y2K safe.
1999-12-31Clean up datatypes and comments for op_class() routine.Tom Lane
1999-12-30elog() was set up to call abort() if it saw an ERROR or FATAL exitTom Lane
during InitProcessingMode and the CurrentTransactionState was neither TRANS_DEFAULT nor TRANS_DISABLED. Unfortunately, after someone's recent change to start the transaction manager earlier in startup than it used to be started, that caused an abort() and consequent database system reset on quite harmless errors (such as rejecting an invalid user name!). As far as I can see, the test on CurrentTransactionState was completely useless anyway, so I've removed it.
1999-12-30Repair bugs discussed in pghackers thread of 15 May 1999: creation of aTom 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.
1999-12-28Removed LZTEXT datatype as discussed.Jan Wieck
Jan
1999-12-24Clean up handling of explicit NULL constants. Cases likeTom Lane
SELECT null::text; SELECT int4fac(null); work as expected now. In some cases a NULL must be surrounded by parentheses: SELECT 2 + null; fails SELECT 2 + (null); OK This is a grammatical ambiguity that seems difficult to avoid. Other than that, NULLs seem to behave about like you'd expect. The internal implementation is that NULL constants are typed as UNKNOWN (like untyped string constants) until the parser can deduce the right type.
1999-12-22to live in a transaction before access to dbHiroshi Inoue
during backend startup.
1999-12-21This patch will avoid SIGFPE on some geo functions , if PostgreSQL is compiledBruce Momjian
with DEC C. DEC C doesn't handle double values greater than DBL_MAX, but some PostgreSQL geo functions assign greater than DBL_MAX values to some vars in some special cases - that couses SIGFPE. I dunno if that is the only place to fix to work well with DEC C. Kirill Nosov.
1999-12-20Finally found a platform which has finite() but nonetheless sets errnoTom Lane
rather than returning a NaN for bogus input to pow(). Namely, HPUX 10.20. I think this is sufficient evidence for what I thought all along, which is that the float.c code *must* look at errno whether finite() exists or not.
1999-12-20Clean up some minor gcc warnings.Tom Lane
1999-12-16Some changes to prepare for LONG attributes.Jan Wieck
Jan
1999-12-16Ethernet MAC addresses (macaddr type) are not compared correctly forBruce Momjian
equality. The lobits macro is wrong and extracts the wrong set of bits out of the structure. To exhibit the problem: select '000000:000000'::macaddr = '000000:110000'::macaddr ; ?column? -------- t (1 row) Daniel Boyd
1999-12-13New LDOUT makefile variable for QNX os.Bruce Momjian
1999-12-13aggregate(DISTINCT ...) works, per SQL spec.Tom Lane
Note this forces initdb because of change of Aggref node in stored rules.
1999-12-10Added global variable to have RI triggers overrideJan Wieck
time qualification of HeapTupleSatisfiesSnapshot() Jan
1999-12-10Fix memory overrun while setting ps statusTatsuo Ishii
1999-12-10Rename several destroy* functions/tags to drop*.Bruce Momjian
1999-12-09Make LD -r as macros that can be changed for QNX.Bruce Momjian
1999-12-09Update for QNX from Kardos, Dr. AndreaBruce Momjian
1999-12-09Hi,Bruce Momjian
I was able to crash postgres 6.5.3 when I did an 'alter user' command. After I started a debugger I found the problem in the timezone handling of datetime (my Linux box lost its timezone information, that's how the problem occurred). Only 7 bytes are reserved for the timezone, without checking for boundaries. Attached is a patch that fixes this problem and emits a NOTICE if a timezone is encountered that is longer than MAXTZLEN bytes, like this: Jeroen van Vianen
1999-12-08Fixed concurrent visibility bug.Jan Wieck
Jan
1999-12-07Again updated INSIDE TODOJan Wieck
Jan
1999-12-07Added SET DEFAULT action for ON DELETE/UPDATEJan Wieck
Jan
1999-12-06Corrected TODO in sourceJan Wieck
Jan
1999-12-06Added ON DELETE/UPDATE SET NULLJan Wieck
Jan
1999-12-06Completed FOREIGN KEY syntax.Jan Wieck
Added functionality for automatic trigger creation during CREATE TABLE. Added ON DELETE RESTRICT and some others. Jan
1999-12-06Rule deparser needs to quote identifiers that are spelled the same asTom Lane
SQL keywords.
1999-11-25Fix for bool casting.Bruce Momjian
1999-11-25Added another single byte oriented decompressor, useful forJan Wieck
comparision functions. Added all lztext comparision functions, operators and a default operator class for nbtree on lztext. Jan