pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JJ <jayson.prichard@comsouth.net>
To: pgsql-sql@postgresql.org
Subject: Storing/sorting hex data in PostgreSQL
Date: Mon, 20 Jul 2009 12:59:22 -0700 (PDT)
Message-ID: <127c470d-1e29-46fe-87d7-63ce9828fb64@k1g2000yqf.googlegroups.com> (raw)

I am parsing a map file and storing the hi, mid and low byte values of
symbol addresses in a comma separated value (.csv) file.  I  am then
importing this data into a PostgreSQL database with the copy
command.

The problem is that I want to sort and query the database based on the
hex addresses; from within another program using Npgsql (a .Net data
server for PostgreSQL).

How can I store hex values in PostgreSQL and sort and query them?



view thread (2+ messages)  latest in thread

Message-ID: <127c470d-1e29-46fe-87d7-63ce9828fb64@k1g2000yqf.googlegroups.com>
Permalink:  ../127c470d-1e29-46fe-87d7-63ce9828fb64@k1g2000yqf.googlegroups.com/
Also on:    postgresql.org/message-id/127c470d-1e29-46fe-87d7-63ce9828fb64@k1g2000yqf.googlegroups.com

 · 

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: jayson.prichard@comsouth.net
  Subject: Re: Storing/sorting hex data in PostgreSQL
  In-Reply-To: <127c470d-1e29-46fe-87d7-63ce9828fb64@k1g2000yqf.googlegroups.com>

* 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