<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/postgresql.git/contrib/fuzzystrmatch/fuzzystrmatch.h, branch master</title>
<subtitle>git.postgresql.org: git/postgresql.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/'/>
<entry>
<title>Add a variant of the Levenshtein string-distance function that lets the user</title>
<updated>2008-04-03T21:13:07+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2008-04-03T21:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=55f6e5f689d3bd086fe4fdcdc823c655005e4d88'/>
<id>55f6e5f689d3bd086fe4fdcdc823c655005e4d88</id>
<content type='text'>
specify the cost values to use, instead of always using 1's.
Volkan Yazici

In passing, remove fuzzystrmatch.h, which contained a bunch of stuff that had
no business being in a .h file; fold it into its only user, fuzzystrmatch.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
specify the cost values to use, instead of always using 1's.
Volkan Yazici

In passing, remove fuzzystrmatch.h, which contained a bunch of stuff that had
no business being in a .h file; fold it into its only user, fuzzystrmatch.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify and standardize conversions between TEXT datums and ordinary C</title>
<updated>2008-03-25T22:42:46+00:00</updated>
<author>
<name>Tom Lane</name>
<email>tgl@sss.pgh.pa.us</email>
</author>
<published>2008-03-25T22:42:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=220db7ccd8c88aafea4629f00e8be6f9f073ed00'/>
<id>220db7ccd8c88aafea4629f00e8be6f9f073ed00</id>
<content type='text'>
strings.  This patch introduces four support functions cstring_to_text,
cstring_to_text_with_len, text_to_cstring, and text_to_cstring_buffer, and
two macros CStringGetTextDatum and TextDatumGetCString.  A number of
existing macros that provided variants on these themes were removed.

Most of the places that need to make such conversions now require just one
function or macro call, in place of the multiple notational layers that used
to be needed.  There are no longer any direct calls of textout or textin,
and we got most of the places that were using handmade conversions via
memcpy (there may be a few still lurking, though).

This commit doesn't make any serious effort to eliminate transient memory
leaks caused by detoasting toasted text objects before they reach
text_to_cstring.  We changed PG_GETARG_TEXT_P to PG_GETARG_TEXT_PP in a few
places where it was easy, but much more could be done.

Brendan Jurd and Tom Lane
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
strings.  This patch introduces four support functions cstring_to_text,
cstring_to_text_with_len, text_to_cstring, and text_to_cstring_buffer, and
two macros CStringGetTextDatum and TextDatumGetCString.  A number of
existing macros that provided variants on these themes were removed.

Most of the places that need to make such conversions now require just one
function or macro call, in place of the multiple notational layers that used
to be needed.  There are no longer any direct calls of textout or textin,
and we got most of the places that were using handmade conversions via
memcpy (there may be a few still lurking, though).

This commit doesn't make any serious effort to eliminate transient memory
leaks caused by detoasting toasted text objects before they reach
text_to_cstring.  We changed PG_GETARG_TEXT_P to PG_GETARG_TEXT_PP in a few
places where it was easy, but much more could be done.

Brendan Jurd and Tom Lane
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyrights in source tree to 2008.</title>
<updated>2008-01-01T19:46:01+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2008-01-01T19:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=9098ab9e327c2e6b0fece9e550d7d93663c60ff5'/>
<id>9098ab9e327c2e6b0fece9e550d7d93663c60ff5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update CVS HEAD for 2007 copyright.  Back branches are typically not</title>
<updated>2007-01-05T22:20:05+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2007-01-05T22:20:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=29dccf5fe0e98af9ce023299c4fe9776a52fd23d'/>
<id>29dccf5fe0e98af9ce023299c4fe9776a52fd23d</id>
<content type='text'>
back-stamped for this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
back-stamped for this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a few baby-C macros in fuzzystrmatch.  Add a few missing includes.</title>
<updated>2006-07-10T18:40:16+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2006-07-10T18:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=b538215d5d1c5c0675725fe539da26299682136a'/>
<id>b538215d5d1c5c0675725fe539da26299682136a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CVS tag lines to files that were lacking them.</title>
<updated>2006-03-11T04:38:42+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2006-03-11T04:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=f3d99d160d1f6104dc7b1b44e66aa4c713e52680'/>
<id>f3d99d160d1f6104dc7b1b44e66aa4c713e52680</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright for 2006.  Update scripts.</title>
<updated>2006-03-05T15:59:11+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2006-03-05T15:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=f2f5b05655afa80377757a2c335c01b28de24429'/>
<id>f2f5b05655afa80377757a2c335c01b28de24429</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The attached patch implements the soundex difference function which</title>
<updated>2005-01-26T08:04:04+00:00</updated>
<author>
<name>Neil Conway</name>
<email>neilc@samurai.com</email>
</author>
<published>2005-01-26T08:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=1ac9f0e9f79c02a48c374dee206d3952e5520f84'/>
<id>1ac9f0e9f79c02a48c374dee206d3952e5520f84</id>
<content type='text'>
compares two strings' soundex values for similarity, from Kris Jurka.
Also mark the text_soundex() function as STRICT, to avoid crashing
on NULL input.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compares two strings' soundex values for similarity, from Kris Jurka.
Also mark the text_soundex() function as STRICT, to avoid crashing
on NULL input.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyrights that were missed.</title>
<updated>2005-01-01T05:43:09+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2005-01-01T05:43:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=2daed8c5b3b1a613b83c73be25a21cc378d69bb1'/>
<id>2daed8c5b3b1a613b83c73be25a21cc378d69bb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright to 2004.</title>
<updated>2004-08-29T04:13:13+00:00</updated>
<author>
<name>Bruce Momjian</name>
<email>bruce@momjian.us</email>
</author>
<published>2004-08-29T04:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/postgresql.git/commit/?id=da9a8649d810826daf7868c6be9a4086c835c0ee'/>
<id>da9a8649d810826daf7868c6be9a4086c835c0ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
