From: Ezra Epstein <akee@speakeasy.net>
To: pgsql-docs@postgresql.org
Subject: Oracle -> PostgreSQL ==> RAW -> ???
Date: Wed, 21 Nov 2001 07:32:04 -0800
Message-ID: <200111211532.fALFW4721515@spidey.speakeasy.net> (raw)
Hi,
I'm moving a database from Oracle to PostgreSQL. I use RAW (as in BINARY, as in BYTE(x) where x < 20) for quite a few columns that hold application generated keys, etc.
How do I represent a RAW in PostgreSQL. I'm too much of a newbie to know how to create my own type. BIT seems to be wrong. And BYTEA can't be it either as there are all sorts of restrictions on using BYTEAs for keys. Seems OIDs are for BLOBs and this are not large binary objects...
HELP!!! Answers, pointers, tips, doc refs, anything.
Thanks,
EE
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-docs@postgresql.org
Cc: akee@speakeasy.net
Subject: Re: Oracle -> PostgreSQL ==> RAW -> ???
In-Reply-To: <200111211532.fALFW4721515@spidey.speakeasy.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