summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2006-08-08Fix bug introduced by last patch, thanks again to Mario Weilguni ↵Teodor Sigaev
<mweilguni@sime.com>
2006-08-07fix bug about modifying value in shared buffer,Teodor Sigaev
what was a reason to corrupt index. Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug.
2006-07-14A recent backpatch to 7.3's contrib/ltree got mixed up, putting code inNeil Conway
the wrong place. This moves it to the right place which allows it to compile. Patch from Kris Jurka.
2006-07-11Fix bug corrupting query in gist consistent function.Teodor Sigaev
Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug.
2006-07-06Fix dbmirror for new backslash escaping:Bruce Momjian
Martin Pitt [2006-06-16 0:15 +0200]: > Upstream confirmed my reply in the last mail in [1]: the complete > escaping logic in DBMirror.pl is seriously screwew. > > [1] http://archives.postgresql.org/pgsql-bugs/2006-06/msg00065.php I finally found some time to debug this, and I think I found a better patch than the one you proposed. Mine is still hackish and is still a workaround around a proper quoting solution, but at least it repairs the parsing without introducing the \' quoting again. I consider this a band-aid patch to fix the recent security update. PostgreSQL gurus, would you consider applying this until a better solution is found for DBMirror.pl? Martin Pitt http://www.piware.de
2006-05-21Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4,Bruce Momjian
and 8.0. Later releases already patched.
2006-02-18Patch from Marko Kreen:Neil Conway
pgcrypto crypt()/md5 and hmac() leak memory when compiled against OpenSSL as openssl.c digest ->reset will do two DigestInit calls against a context. This happened to work with OpenSSL 0.9.6 but not with 0.9.7+. Reason for the messy code was that I tried to avoid creating wrapper structure to transport algorithm info and tried to use OpenSSL context for it. The fix is to create wrapper structure. It also uses newer digest API to avoid memory allocations on reset with newer OpenSSLs. Thanks to Daniel Blaisdell for reporting it.
2006-01-03When the remote query result has a different number of columnsJoe Conway
than the local query specifies (e.g. in the FROM clause), throw an ERROR (instead of crashing). Fix for bug #2129 reported by Akio Iwaasa.
2006-01-03There is a signedness bug in Openwall gen_salt code that pgcrypto uses.Tom Lane
This makes the salt space for md5 and xdes algorithms a lot smaller than it should be. Marko Kreen
2005-12-06Fix stupid bug with sizeofTeodor Sigaev
2005-08-15int_array_enum function should be using fcinfo->flinfo->fn_extra forTom Lane
working state, not fcinfo->context. Silly oversight on my part in last go-round of fixes.
2005-07-17Looks like cube_1 variant is also needed in 7.3 branch.Tom Lane
(Don't bother adding it in 7.2, though, since pg_regress doesn't have the capability to use it that far back.
2005-07-16Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.Tom Lane
2005-04-23int_aggregate's int_enum() doesn't work correctly with arrays thatTom Lane
aren't 1-D, so give an error message instead of failing. Per report from Ron Mayer.
2005-03-23Previous "64-bit fix" for intagg didn't actually work. This is alreadyTom Lane
fixed properly in CVS tip, but we need a band-aid for back branches. Per report from Ron Mayer.
2005-03-13Some builds (depends on crypto engine support?) of OpenSSLNeil Conway
0.9.7x have EVP_DigestFinal function which which clears all of EVP_MD_CTX. This makes pgcrypto crash in functions which re-use one digest context several times: hmac() and crypt() with md5 algorithm. Following patch fixes it by carring the digest info around EVP_DigestFinal and re-initializing cipher. Marko Kreen.
2005-03-13Update contrib/pgcrypto in 7.3 and 7.2 branches to avoid problems withNeil Conway
recent versions of OpenSSL. From Marko Kreen.
2005-01-29Make sure contrib C functions are marked strict where needed.Tom Lane
Kris Jurka
2005-01-27Now that I look at it, int_array_enum() didn't work either.Tom Lane
2005-01-27Fix security and 64-bit issues in contrib/intagg. This code couldTom Lane
stand to be rewritten altogether, but for now just stick a finger in the dike.
2005-01-26Mark the text_soundex() function as "strict", to avoid crashing on NULLNeil Conway
input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
2004-10-21Back-patch make_oidjoins_check security improvement.Tom Lane
2004-10-13Repair possible failure to update hint bits back to disk, perTom Lane
http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php. I plan a more permanent fix in HEAD, but for the back branches it seems best to just touch the places that actually have a problem.
2004-06-07Remove asymetrical word processing in query and textTeodor Sigaev
2004-02-24When returning type "record", replace use of pgresultGetTupleDescJoe Conway
with ReturnSetInfo->expectedDesc. This allows custom datatypes (e.g. from tsearch2) to be returned at runtime. Previous behavior depended on the type oid to match between the remote and local database, which obviously doesn't work well for custom types. Per report from Mark Gibson.
2004-02-24pply quote_literal to the start_with argument of connectby. Fixes problemJoe Conway
reported by David Garamond when working with bytea parent and child keys.
2003-11-26Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bugJoe Conway
reported by Andrea Grassi.
2003-07-22Allow sub[path|ltre] return void resultTeodor Sigaev
2003-07-22Mark as deprecatedTeodor Sigaev
2003-05-19Repair quoting sloppiness, lack of schema awareness in reindexdb.Tom Lane
2003-05-16Fix failure when uniq-ifying an array of zero elements.Tom Lane
Teodor Sigaev
2003-05-16Check calling context for connectby_text(), per Joe Conway.Tom Lane
2003-03-31Please, apply patch for contrib/ltree to current CVS and 7.3.2Bruce Momjian
CHANGES Mar 28, 2003 Added finctions index(ltree,ltree,offset), text2ltree(text), ltree2text(text) Teodor Sigaev
2003-03-20The attatched patch fixes a memory error with contrib/dbmirror/pending.cBruce Momjian
when running it with older(Pre 7.3.x) versions of Postgresql. Backpatched to 7.3.X. Steven Singer
2003-02-19Please apply patches for contrib/ltree.Bruce Momjian
ltree_73.patch.gz - for 7.3 : Fix ~ operation bug: eg '1.1.1' ~ '*.1' ltree_74.patch.gz - for current CVS Fix ~ operation bug: eg '1.1.1' ~ '*.1' Add ? operation Optimize index storage Last change needs drop/create all ltree indexes, so only for 7.4 Teodor Sigaev
2003-01-31Tweak bison build rules so that we get the same error messages fromTom Lane
bison 1.875 and later as we did from earlier bison releases. Eventually we will probably want to adopt the newer message spelling ... but not yet. Per recent discussion on pgpatches. Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql grammars, since these do not affect regression test results.
2003-01-15This patch fixes an incorrect statement and makes a few cleanups toBruce Momjian
contrib/fulltextindex/README.fti Backpatched to 7.3.X too. Neil Conway
2003-01-07Upgrade to my2pg 1.9Bruce Momjian
2003-01-07Upgrade to even newer ora2pg 2.0.Bruce Momjian
2003-01-07Upgrade to ora2pg 1.10. Backpatch to 7.3.X.Bruce Momjian
2003-01-03Add casts between oid and lo in contrib.Hiroshi Inoue
2002-12-27Small fix in documentation and some examples of usage. Please, apply toBruce Momjian
7.3 and current CVS Oleg Bartunov
2002-12-13This patch fixes minor bugs in dictionary generator in contrib/tsearchBruce Momjian
(contrib/tsearch/makedict/makedict.pl) [ Backpatched to 7.3.] Teodor Sigaev
2002-12-06Thank you very much, you catch it :). This bug had a long life, because itBruce Momjian
exists if and only if locale of postmaster was a different from C (or ru_RU.KOI8-R). Please, apply patch for current CVS & 7.3.1 Magnus Naeslund(f) wrote: > Ok, I nailed the bug, but i'm not sure what the correct fix is. > Attached tsearch_morph.diff that remedies this problem by avoiding it. > Also there's a debug aid patch if someone would like to know how i > finally found it out :) > > There problem in the lemmatize() function is that GETDICT(...) returned > a value not handled (BYLOCALE). > The value (-1) and later used as an index into the dicts[] array. > After that everything went berserk stack went crazy somehow so trapping > the fault sent me to the wrong place, and every time i read the value it > was positive ;) > > So now i just return the initial word passed to the lemmatize function, > because i don't know what to do with it. Magnus Naeslund
2002-12-05It looks like the problem was introduced when the "SET autocommit" andBruce Momjian
"SET search_path" commands were added to the beginning of the script. The attatched patch should fix the problem. It probably should be applied against the 7.3 and 7.4 branches. Steven Singer
2002-12-03Fix off-by-one bug in usage check.Tom Lane
2002-12-02Fix script name in README.Tom Lane
2002-12-02Fix dependency generation for multicolumn foreign keys. From Adam Buraczewski.Tom Lane
2002-11-26Allocate proper length for sprintf string, from Tatsuo.Bruce Momjian
2002-11-23Fix inappropriate quoting in dblink. From Joe Conway.Tom Lane