Re: [GENERAL] Insert or Update a path from textbox...

2010-05-31 Thread Alban Hertroys
On 31 May 2010, at 23:27,  wrote:

> Hi,
>  
> I'm just try to insert or update an actually table with Microsoft .NET 
> platform VS2005.
>  
> The problem is that de "\" dissapear when I make the insert or Update.

Postgres is interpreting those backslashes as escape characters. Either escape 
them or turn on standard_conforming_strings.

That said, if you're having this problem your queries are probably vulnerable 
to SQL injection too, they're certainly not parameterised or Postgres would 
have done the escaping for you.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4c04394a10151125916774!



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[GENERAL] Insert or Update a path from textbox...

2010-05-31 Thread david.catasus
Hi,

I'm just try to insert or update an actually table with Microsoft .NET platform 
VS2005.

The problem is that de "\" dissapear when I make the insert or Update.

If i debug the object has all detailed path...so Why is not saved on the table.
The type of column is character (100).

So:

I have: C:\EVOL\Carga\
I obtain on table of the postgresql: c:EVOLCarga.

Is an X-File?

If anybody can has any idea...

Thanks.

David Catasús