Re: Automatically opening pdf files stored in a bytea field

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com>
Cc: Adam Witney <awitney(at)sgul(dot)ac(dot)uk>, pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: Automatically opening pdf files stored in a bytea field
Date: 2005-10-13 02:13:29
Message-ID: 434DC2C9.9020304@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> 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.

PostgreSQL prepared statements don't escape bytea afaik

Chris

In response to

Browse pgsql-php by date

  From Date Subject
Next Message JUAN ERNESTO FLORES BELTRAN 2005-10-14 12:06:33 autentication problem
Previous Message operationsengineer1 2005-10-12 21:40:46 Re: Install Postgre on Linux Suse 10