Commits in week 22 (May 28 - Jun 03, 2001)
Commits23 commits
0Author
23Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Accept and output '-Infinity' as well as 'Infinity', per long-ago suggestion from Ross Reedstrom. Still needs work to make those symbols convert to actual IEEE infinities (on machines where such things exist). | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 02, 2001 | |
| Committer | Tweak sorting so that nulls appear at the front of a descending sort (vs. at the end of a normal sort). This ensures that explicit sorts yield the same ordering as a btree index scan. To be really sure that that equivalence holds, we use the btree entries in pg_amop to decide whether we are looking at a '<' or '>' operator. For a sort operator that has no btree association, we put the nulls at the front if the operator is named '>' ... pretty grotty, but it does the right thing in simple ASC and DESC cases, and at least there's no possibility of getting a different answer depending on the plan type chosen. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 02, 2001 | |
| Committer | Paranoia about unordered comparisons in IEEE float math. If we are given values that compare as unordered, make sure we reply that they are equal, which is better than giving an arbitrary answer --- at least it doesn't depend on which one is passed as which arg. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 02, 2001 | |
| Committer | Check for malloc failure. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | Guard against malloc failure. Also, don't examine segP->lastBackend until we hold the spinlock. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | Check for malloc failure. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | If spi.c wants to use malloc, it better test for malloc failure. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | pltcl, plperl, and plpython all suffer the same bug previously fixed in plpgsql: they fail for datatypes that have old-style I/O functions due to caching FmgrInfo structs with wrong fn_mcxt lifetime. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | New improved version of bpcharin() may have got the truncation case right, but it failed to get the padding case right. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | Remove fastpath.c's lame attempt at caching function lookup info across calls. This has never actually cached anything, because postgres.c does each fastpath call as a separate transaction command, and so fastpath.c would always decide that its cache was outdated. If it had worked, it would now be failing for calls of oldstyle functions due to dangling pointers in the FmgrInfo struct. Rip it out for simplicity and bug- proofing. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | Clean up some minor problems exposed by further thought about Panon's bug report on old-style functions invoked by RI triggers. We had a number of other places that were being sloppy about which memory context FmgrInfo subsidiary data will be allocated in. Turns out none of them actually cause a problem in 7.1, but this is for arcane reasons such as the fact that old-style triggers aren't supported anyway. To avoid getting burnt later, I've restructured the trigger support so that we don't keep trigger FmgrInfo structs in relcache memory. Some other related cleanups too: it's not really necessary to call fmgr_info at all while setting up the index support info in relcache entries, because those ScanKeyEntry structs are never used to invoke the functions. This should speed up relcache initialization a tiny bit. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jun 01, 2001 | |
| Committer | Ooops, forgot to commit Makefile along with other changes. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 31, 2001 | |
| Committer | Support for emulating RTREE indexing in GiST. Contributed by Oleg Bartunov and Teodor Sigaev. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 31, 2001 | |
| Committer | Updates to make GIST work with multi-key indexes (from Oleg Bartunov and Teodor Sigaev). Declare key values as Datum where appropriate, rather than char* (Tom Lane). | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 31, 2001 | |
| CommitterBackported | RI triggers would fail for datatypes using old-style equal function, because cached fmgr info contained reference to a shorter-lived data structure. Also guard against possibility that fmgr_info could fail, leaving an incomplete entry present in the hash table. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+24 more | May 31, 2001 | |
| Committer | Add "#define GIST_AM_OID". | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 30, 2001 | |
| Committer | Tweak StrategyEvaluation data structure to eliminate hardwired limit on number of strategies supported by an index AM. Add missing copyright notices and CVS $Header$ markers to GIST source files. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 30, 2001 | |
| Committer | Remove unused, redundant header files. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 30, 2001 | |
| Committer | Fix broken $Header$ declaration. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 30, 2001 | |
| Committer | Correct obsolete example of FROM-less query. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 30, 2001 | |
| Committer | Make text <=> char conversion functions convert zero character to and from an empty text string. This makes them consistent with the de facto behavior of type char's I/O conversion functions, and avoids generating text values with embedded nulls, which confuse many text operators. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 28, 2001 | |
| Committer | Cause plpgsql's PERFORM to behave according to its documentation, which says that PERFORM will execute any SELECT query and discard the result. The former implementation would in fact raise an error if the result contained more than one row or more than one column. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 28, 2001 | |
| Committer | Suppress useless memmove() when buffer already contains left-justified data. | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | May 28, 2001 |