Re: General coding question

From: "David Johnston" <polobo(at)yahoo(dot)com>
To: "'jkells'" <jtkells(at)verizon(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: General coding question
Date: 2011-12-20 18:32:32
Message-ID: 024101ccbf45$bdba65e0$392f31a0$@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of jkells
Sent: Tuesday, December 20, 2011 12:33 PM
To: pgsql-general(at)postgresql(dot)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 no escaping 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 data entry and strictly depends on how you are entering data . As you have not provided those details further advice cannot be given.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2011-12-20 18:48:01 Re: General coding question
Previous Message jkells 2011-12-20 17:32:58 General coding question