agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Bruce Taneja. <aataneja@cs.mtu.edu>
To: postgres@postgres.Berkeley.EDU
Cc: Bruce Taneja. <aataneja@cs.mtu.edu>
Subject: using "TEXT" in C files ..
Date: Sun, 12 Jun 1994 18:39:05 -0400 (EDT)
Message-ID: <9406122239.AA26597@cs.mtu.edu> (raw)


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



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: aataneja@cs.mtu.edu
  Subject: Re: using "TEXT" in C files ..
  In-Reply-To: <9406122239.AA26597@cs.mtu.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