Skip site navigation (1) Skip section navigation (2)

Reload of database with escaped data.

From: "Michael J(dot) Rogan" <mrogan(at)fpelectronics(dot)com>
To: PostgreSQL-development <hackers(at)postgreSQL(dot)org>
Subject: Reload of database with escaped data.
Date: 1998-02-28 15:43:49
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

What is the best way to deal with ' " \ in a char/varchar/text fields?

I have escaped them with \ which works and pg_dump dumps them correctly 
however psql does not accept them.  Is there a way to tell psql to pass 
all commands it does not understand?

I need \\ \' \" passed through to the database or do I have to write my 
own reload program or modify psql myself?


* Michael J. Rogan,  Network Administrator,   905-624-3020 *
* Mark IV Industries, F-P Electronics & I.V.H.S. Divisions *
* mrogan(at)fpelectronics(dot)com                 mrogan(at)ivhs(dot)com *


pgsql-hackers by date

Next:From: Tom I HelbekkmoDate: 1998-02-28 15:58:07
Subject: Just a couple minor nits...
Previous:From: Michael J. RoganDate: 1998-02-28 15:04:56
Subject: Rule plan size for views?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group