pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Pandey <dpandey@secf.com>
To: 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format
Date: Tue, 12 Jul 2005 09:09:44 +0530
Message-ID: <200507120342.j6C3gR1O005118@postman.bayarea.net> (raw)

How to store and retrieve data with special characters (\n, \r, \f, \t) in
the same format, because while storing \f treats data in strange way.

 

Example: 'This is sample data \n \root\files.txt, \root\text.txt'

 

Sol: One way replaces \ with \\

 

Thanks

Dinesh

Message-ID: <200507120342.j6C3gR1O005118@postman.bayarea.net>
Permalink:  ../200507120342.j6C3gR1O005118@postman.bayarea.net/
Also on:    postgresql.org/message-id/200507120342.j6C3gR1O005118@postman.bayarea.net

 · 

reply

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: dpandey@secf.com
  Subject: Re: How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format
  In-Reply-To: <200507120342.j6C3gR1O005118@postman.bayarea.net>

* 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