Re: tsearch filenames unlikes special symbols and numbers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ben Tilly" <btilly(at)gmail(dot)com>
Cc: "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Magnus Hagander" <magnus(at)hagander(dot)net>, "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>, "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tsearch filenames unlikes special symbols and numbers
Date: 2007-09-04 00:01:48
Message-ID: 5359.1188864108@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

"Ben Tilly" <btilly(at)gmail(dot)com> writes:
> I don't know what you're discussing well enough to know if this is
> relevant, but what you just said is not always true. If there is any
> way to pass arbitrary binary data into your function call, then
> someone can pass in a string with nul in it.

Not a problem here, because the passed-in data is considered
nul-terminated already. (Sometimes, not being 8-bit-clean is
an advantage...)

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2007-09-04 00:03:26 Re: tsearch filenames unlikes special symbols and numbers
Previous Message Ben Tilly 2007-09-03 23:54:00 Re: tsearch filenames unlikes special symbols and numbers

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-04 00:03:26 Re: tsearch filenames unlikes special symbols and numbers
Previous Message Tom Lane 2007-09-03 23:55:30 Re: Hash index todo list item