Re: Inefficient bytea escaping?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marko Kreen" <markokr(at)gmail(dot)com>
Cc: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Inefficient bytea escaping?
Date: 2006-05-27 14:12:11
Message-ID: 22900.1148739131@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Marko Kreen" <markokr(at)gmail(dot)com> writes:
> If you want to use fwrite as string operator, then maybe
> should replace it with fwrite_unlocked?

ISTM that in a single-threaded application such as the backend,
it should be libc's responsibility to avoid such overhead, not
ours.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-27 14:57:05 Re: LIKE, leading percent, bind parameters and indexes
Previous Message Tom Lane 2006-05-27 13:56:18 Re: Updatable views/with check option parsing