pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: Hex representation
Date: Wed, 24 Sep 2008 22:32:46 +0300
Message-ID: <gbe4kv$e4j$1@ger.gmane.org> (raw)
In-Reply-To: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu>
References: <337D9AE2-2BEF-48E3-8DF4-E7F0CA560A1B@indiana.edu>

Carol Walter написа:
> Hello,
> 
> Does anyone know what the format of hex characters for postgres are? 
> I'm trying to create files that contain a 0x55.  It looks to me like it
> should require a delimiter of some sort between the characters.  I don't
> know how postgres would know that the string was a hex representation
> and not just a character zero, followed by a character x, followed by a
> character 5, followed by a character 5.


http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Look for "Also supported are \digits,..." in section "4.1.2.1. String Constants".


-- 
Milen A. Radev




view thread (10+ messages)  latest in thread

Message-ID: <gbe4kv$e4j$1@ger.gmane.org>
Permalink:  ../gbe4kv$e4j$1@ger.gmane.org/
Also on:    postgresql.org/message-id/gbe4kv$e4j$1@ger.gmane.org

 · 

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-admin@postgresql.org
  Cc: milen@radev.net
  Subject: Re: Hex representation
  In-Reply-To: <gbe4kv$e4j$1@ger.gmane.org>

* 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