agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@cs.berkeley.edu>
To: Praveen Mamnani <pmamnani@cs.nmsu.edu>
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: bytea ?
Date: Mon, 10 Oct 94 12:58:22 -0700
Message-ID: <199410101958.MAA05308@faerie.CS.Berkeley.EDU> (raw)
In-Reply-To: <9410090244.AA00927@chimayo>

pmamnani@cs.nmsu.edu (Praveen Mamnani) writes:
> I was converting some programs from SQL to Postgres. SQl uses data type
> char(n) where n could be <255. Postgres has char4,8, and 16. How do
> I define char of size n in postgres ? 

you write a new data type with its operators, functions, access method
hooks, etc.
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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: postgres@postgres.berkeley.edu
  Cc: aoki@cs.berkeley.edu, pmamnani@cs.nmsu.edu
  Subject: Re: bytea ?
  In-Reply-To: <199410101958.MAA05308@faerie.CS.Berkeley.EDU>

* 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