Re: Automatically opening pdf files stored in a bytea field

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: Automatically opening pdf files stored in a bytea field
Дата
Msg-id 7104a7370510121008h198d5013vdd29c30394984855@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Automatically opening pdf files stored in a bytea field  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: Automatically opening pdf files stored in a bytea field  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-php
Hi,

On 10/12/05, Christopher Kings-Lynne <chriskl@familyhealth.com.au> wrote:
> I'm not 100% sure you need the pg_unescape_bytea - I thought that was
> already done automatically?

Yep, I agree. Furthermore, (un)escape routines will consume so much
system CPU. If you can, try to use parameters (pg_query_params() and
pg_send_params()) in any bytea/lo storage. This makes you free from
escaping without any potential SQL Injection threats.

Regards.

В списке pgsql-php по дате отправления:

Предыдущее
От: Leodan Vega Izaguirre
Дата:
Сообщение: Re: Set Privileges on All Tables - Wrong List - Sorry
Следующее
От: "Milen A. Radev"
Дата:
Сообщение: Converting RFC 2822 "timestamp" to timestampz