Return-Path: owner-postman
Received: from LOCALHOST (LOCALHOST [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id PAA25473 for postgres-redist; Sun, 12 Jun 1994 15:39:08 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199406122239.PAA25473@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host LOCALHOST didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from cs.mtu.edu (cs.mtu.edu [141.219.150.12]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id PAA25463 for <postgres@nobozo.CS.Berkeley.EDU>; Sun, 12 Jun 1994 15:39:07 -0700
Received: from tamarack.mtu.edu (tamarack.cs.mtu.edu) by cs.mtu.edu (4.1/SMI-4.1)
	id AA26597; Sun, 12 Jun 94 18:39:08 EDT
From: aataneja@cs.mtu.edu (Bruce Taneja.)
Message-Id: <9406122239.AA26597@cs.mtu.edu>
Subject: using "TEXT" in C files ..
To: postgres@postgres.Berkeley.EDU
Date: Sun, 12 Jun 1994 18:39:05 -0400 (EDT)
Cc: aataneja@cs.mtu.edu (Bruce Taneja.)
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text
Content-Length: 689       
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Sun, 12 Jun 94 15:39:08 -0700
Resent-XMts: smtp


Greetings Netters,

What files are needed to be included to use the "TEXT"
data type of Postgres while writing code for some complex
data definition ..?

The CIRCLE example showed which file to include to use
the POINT data type .. (is any required for TEXT ?)

can we say :

typedef struct {

	CIRCLE c;
	int i;
	TEXT t;        <<<<?????

	} xyz;


Also is this TEXT of variable size .. ? >>

If so then is this xyz type to be defined as a "variable-internal
length" .. ?  (because we won't know the size of xyz till the run
time) ...

Also can we safely assume (while coding in C) that a retrieved 
glob (from disk) will have the TEXT t ending with a NULL ??

thanks in advance!
Bruce!

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