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 AAA04021 for postgres-redist; Thu, 5 Jan 1995 00:54:45 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199501050854.AAA04021@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from homer14.u.washington.edu (homer14.u.washington.edu [140.142.70.15]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id AAA04011 for ; Thu, 5 Jan 1995 00:54:45 -0800 Received: by homer14.u.washington.edu (5.65+UW94.10/UW-NDC Revision: 2.32 ) id AA43137; Thu, 5 Jan 95 00:54:33 -0800 X-Sender: wei@homer14.u.washington.edu Date: Thu, 5 Jan 1995 00:54:33 -0800 (PST) From: Xinguo Wei To: postgres Subject: Can't use GetAttributeByName for text type.. Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Thu, 05 Jan 95 00:54:45 -0800 Resent-XMts: smtp 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/