Re: General coding question - Mailing list pgsql-general

From David Johnston
Subject Re: General coding question
Date
Msg-id 024101ccbf45$bdba65e0$392f31a0$@yahoo.com
Whole thread Raw
In response to General coding question  (jkells <jtkells@verizon.net>)
List pgsql-general
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of jkells
Sent: Tuesday, December 20, 2011 12:33 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] General coding question

General coding question.  Can I insert a text string into a character varying column that contains a \ as is, meaning
noescaping of the character or is this a bad practice? 

I.e:  Column                     data
    ==========              ====================================
    description              SUBDIV LOT 13 & N1\2 LOT  14

Thanks

-----------------------------------------------------

You never would actually store an "escaping" black-slash in the data.  The need for an escape symbol occurs only during
dataentry and strictly depends on how you are entering data .  As you have not provided those details further advice
cannotbe given.   

David J.



pgsql-general by date:

Previous
From: jkells
Date:
Subject: General coding question
Next
From: Bill Moran
Date:
Subject: Re: General coding question