agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedbytea ?
2+ messages / 2 participants
[nested] [flat]
* bytea ?
@ 1994-10-08 13:44 Praveen Mamnani <pmamnani@cs.nmsu.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Praveen Mamnani @ 1994-10-08 13:44 UTC (permalink / raw)
To: legacy
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 ?
your help would be appreciated.
==============================================================================
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.
==============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: bytea ?
@ 1994-10-10 19:58 Paul M. Aoki <aoki@cs.berkeley.edu>
parent: Praveen Mamnani <pmamnani@cs.nmsu.edu>
0 siblings, 0 replies; 2+ messages in thread
From: Paul M. Aoki @ 1994-10-10 19:58 UTC (permalink / raw)
To: Praveen Mamnani <pmamnani@cs.nmsu.edu>; +Cc: legacy
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.
==============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1994-10-10 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1994-10-08 13:44 bytea ? Praveen Mamnani <pmamnani@cs.nmsu.edu>
1994-10-10 19:58 ` Paul M. Aoki <aoki@cs.berkeley.edu>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox