pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: jack <datactrl@tpg.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: how to put an special code in a string
Date: Wed, 23 Apr 2003 08:50:33 +0200
Message-ID: <3EA637B9.5060404@klaster.net> (raw)
In-Reply-To: <003301c30940$ed632300$1400a8c0@jac>
References: <003301c30940$ed632300$1400a8c0@jac>

Uz.ytkownik jack napisa?:
> Hi all,
> 
> With pg/Sql, how do I put an special code in a string? Such as
> 
> ''abc'' || <tab>||''xxx''||<cr/lf>
> 
> How do I specify a tab or cr/lf code? Thank you
C style should work. Try
<tab> -> \t
<cr/lf> -> \r\n ?
Regards,
Tomasz Myrta




view thread (3+ messages)  latest in thread

Message-ID: <3EA637B9.5060404@klaster.net>
Permalink:  ../3EA637B9.5060404@klaster.net/
Also on:    postgresql.org/message-id/3EA637B9.5060404@klaster.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: jasiek@klaster.net, datactrl@tpg.com.au
  Subject: Re: how to put an special code in a string
  In-Reply-To: <3EA637B9.5060404@klaster.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