From: | "Shoaib Mir" <shoaibmir(at)gmail(dot)com> |
---|---|
To: | "Ranieri Mazili" <ranieri(dot)oliveira(at)terra(dot)com(dot)br> |
Cc: | pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] Inserting a path into Database |
Date: | 2007-06-04 20:19:11 |
Message-ID: | bf54be870706041319r661ef534tc48ea1cc6b3a56c9@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
If you are on 8.1 you can use double qoutes ( 'C:\\Program Files\\My
program' ) on in 8.2 you can use the new "backslash_quote (string)"
setting.
You can find help on "backslash_quote (string)" at -->
http://www.postgresql.org/docs/current/static/runtime-config-compatible.html
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
On 6/4/07, Ranieri Mazili <ranieri(dot)oliveira(at)terra(dot)com(dot)br> wrote:
>
> Hello,
>
> I need to insert a path into a table, but because "\" I have a error by
> postgres, so how can I insert a path like bellow into a table:
>
> insert into production values ('C:\Program Files\My program');
>
> I appreciate any help
> Thanks
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
From | Date | Subject | |
---|---|---|---|
Next Message | Mario Guenterberg | 2007-06-04 20:39:23 | Re: Inserting a path into Database |
Previous Message | Ranieri Mazili | 2007-06-04 20:10:48 | Inserting a path into Database |
From | Date | Subject | |
---|---|---|---|
Next Message | Mario Guenterberg | 2007-06-04 20:39:23 | Re: Inserting a path into Database |
Previous Message | Ranieri Mazili | 2007-06-04 20:10:48 | Inserting a path into Database |