Return-Path: owner-postman
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id MAA20995 for postgres-redist; Mon, 10 Oct 1994 12:58:34 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199410101958.MAA20995@nobozo.CS.Berkeley.EDU>
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id MAA20985 for <postgres@postgres.Berkeley.EDU>; Mon, 10 Oct 1994 12:58:33 -0700
Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.9/8.1B) with SMTP id MAA05308; Mon, 10 Oct 1994 12:58:28 -0700
Message-Id: <199410101958.MAA05308@faerie.CS.Berkeley.EDU>
X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol
From: aoki@cs.berkeley.edu (Paul M. Aoki)
To: pmamnani@cs.nmsu.edu (Praveen Mamnani)
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: bytea ? 
Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki)
In-reply-to: Your message of Sat, 8 Oct 1994 20:44:05 +0700 
	     <9410090244.AA00927@chimayo> 
Date: Mon, 10 Oct 94 12:58:22 -0700
X-Sender: aoki@postgres.Berkeley.EDU
Resent-To: postgres-redist@postgres.Berkeley.EDU
X-Mts: smtp
Resent-Date: Mon, 10 Oct 94 12:58:34 -0700
Resent-XMts: smtp

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.
==============================================================================
