From: Mario Guenterberg <mg@havelsoft.com>
To: pgsql-general@postgresql.org
Subject: Re: Inserting a path into Database
Date: Mon, 4 Jun 2007 22:39:23 +0200
Message-ID: <20070604203923.GA22350@/bin/dnsdomainname> (raw)
In-Reply-To: <466471C8.40506@terra.com.br>
References: <466471C8.40506@terra.com.br>
On Mon, Jun 04, 2007 at 05:10:48PM -0300, Ranieri Mazili 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');
>
Use double quotes. In example c:\\Programme Files\\...
Greetings
--
-----------------------------------------------------
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966 |
| Notruf: 0173-277 33 60 |
| http://www.havelsoft.com |
| |
| Inhaber: Mario Günterberg |
| Mützlitzer Strasse 19 |
| 14715 Märkisch Luch |
-----------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mg@havelsoft.com, pgsql-general@postgresql.org
Subject: Re: Inserting a path into Database
In-Reply-To: <20070604203923.GA22350@/bin/dnsdomainname>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox