public inbox for [email protected]
help / color / mirror / Atom feedFrom: Andy Anderson <[email protected]>
To: [email protected]
Subject: Re: Backslash Escape Sequences
Date: Thu, 1 May 2008 11:29:09 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
>> Andy Anderson wrote:
>>
>>> In any case, here's a contribution to the manual, a short table with
>>> this information, in a format that might help make the subject
>>> clearer.
>> Modify at will!
> On Apr 30, 2008, at 6:04 PM, Alvaro Herrera wrote:
>> FWIW if you really want to make a contribution to the docs, please
>> see
>> the SGML sources instead of the HTML output (which is machine-
>> generated).
OK, then, I hope the following is accurate enough SGML to be more
useful. Submitted here per the instructions on <http://www.postgresql.org/docs/8.3/interactive/bug-reporting.html
>.
-- Andy
********************************************************************
<table id="sql-backslash-table">
<title>Backslash Escape Sequences</title>
<tgroup cols="2">
<thead>
<row>
<entry>Backslash Escape Sequence</>
<entry>Interpretation</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>\b</literal></entry>
<entry>backspace</entry>
</row>
<row>
<entry><literal>\f</literal></entry>
<entry>form feed</entry>
</row>
<row>
<entry><literal>\n</literal></entry>
<entry>newline</entry>
</row>
<row>
<entry><literal>\r</literal></entry>
<entry>carriage return</entry>
</row>
<row>
<entry><literal>\t</literal></entry>
<entry>tab</entry>
</row>
<row>
<entry>
<literallayout>
<literal>\<replaceable>o</replaceable></literal>
<literal>\<replaceable>oo</replaceable></literal>
<literal>\<replaceable>ooo</replaceable></literal>
(<replaceable>o</replaceable> = 0 - 7)
</literallayout>
</entry>
<entry>octal byte value</entry>
</row>
<row>
<entry>
<literallayout>
<literal>\x<replaceable>h</replaceable></literal>
<literal>\x<replaceable>hh</replaceable></literal>
(<replaceable>h</replaceable> = 0 - F)
</literallayout>
</entry>
<entry>hexadecimal byte value</entry>
</row>
<row>
<entry>
<literallayout>
<literal>\<replaceable>a</replaceable></literal>
(<replaceable>a</replaceable> = any other character than the
above,
e.g. <literal>\</literal> and <literal>'</literal>.)
</literallayout>
</entry>
<entry><replaceable>a</replaceable></entry>
</row>
</tbody>
</tgroup>
</table>
view thread (11+ messages) latest in thread
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: [email protected]
Cc: [email protected]
Subject: Re: Backslash Escape Sequences
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox