pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben Tilly <btilly@gmail.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Oleg Bartunov <oleg@sai.msu.su>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: tsearch filenames unlikes special symbols and numbers
Date: Mon, 03 Sep 2007 20:01:48 -0400
Message-ID: <5359.1188864108@sss.pgh.pa.us> (raw)
In-Reply-To: <acc274b30709031654wf337c8fp79c93fea9f1c3328@mail.gmail.com>
References: <162867790709021328i7771aa9jfe79268bccbf123d@mail.gmail.com>
	<Pine.LNX.4.64.0709030113090.2767@sn.sai.msu.ru>
	<18259.1188773171@sss.pgh.pa.us>
	<87y7foir7t.fsf@oxford.xeocode.com>
	<19257.1188777110@sss.pgh.pa.us>
	<87tzqci6tp.fsf@oxford.xeocode.com>
	<20070903075609.GD21833@svr2.hagander.net>
	<1692.1188826039@sss.pgh.pa.us>
	<87zm03zwqs.fsf@oxford.xeocode.com>
	<8195.1188828543@sss.pgh.pa.us>
	<acc274b30709031654wf337c8fp79c93fea9f1c3328@mail.gmail.com>

"Ben Tilly" <btilly@gmail.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



view thread (31+ messages)  latest in thread

Message-ID: <5359.1188864108@sss.pgh.pa.us>
Permalink:  ../5359.1188864108@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5359.1188864108@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, btilly@gmail.com, stark@enterprisedb.com, magnus@hagander.net, oleg@sai.msu.su, pavel.stehule@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: tsearch filenames unlikes special symbols and numbers
  In-Reply-To: <5359.1188864108@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox