agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Xinguo Wei <wei@u.washington.edu>
To: postgres <postgres@postgres.Berkeley.EDU>
Subject: Can't use GetAttributeByName for text type..
Date: Thu, 5 Jan 1995 00:54:33 -0800 (PST)
Message-ID: <Pine.A32.3.91c.950105004448.82192A-100000@homer14.u.washington.edu> (raw)
Hi Postgresers,
I can't make the GetAttributeByName work for my text attribute. The
syntax I have is shown here,
char name[4];
strcpy(name,GetAttributeByName(t,"graphic_model", &isnull));
The attribute "graphic_model" is defined as text type.
The name array has all the garbage instead of the actual value.
What is the problem here?
My platform is Dec Alpha OSF/1.
Xinguo
==============================================================================
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.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
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: wei@u.washington.edu
Subject: Re: Can't use GetAttributeByName for text type..
In-Reply-To: <Pine.A32.3.91c.950105004448.82192A-100000@homer14.u.washington.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