How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format - Mailing list pgsql-sql

From Dinesh Pandey
Subject How to store and retrieve data with special characters (\n, \r, \f, \t) in the same format
Date
Msg-id 200507120342.j6C3gR1O005118@postman.bayarea.net
Whole thread Raw
List pgsql-sql

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

pgsql-sql by date:

Previous
From: TJ O'Donnell
Date:
Subject: dynamically loaded functions
Next
From: Michael Fuhr
Date:
Subject: Re: dynamically loaded functions