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 NAA25819 for postgres-redist; Sun, 4 Dec 1994 13:07:24 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199412042107.NAA25819@nobozo.CS.Berkeley.EDU> Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from faerie.CS.Berkeley.EDU (faerie.CS.Berkeley.EDU [128.32.37.53]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with ESMTP id NAA25809 for ; Sun, 4 Dec 1994 13:07:23 -0800 Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by faerie.CS.Berkeley.EDU (8.6.9/8.1B) with SMTP id NAA00394; Sun, 4 Dec 1994 13:07:06 -0800 Message-Id: <199412042107.NAA00394@faerie.CS.Berkeley.EDU> X-Authentication-Warning: faerie.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol From: aoki@cs.berkeley.edu (Paul M. Aoki) To: SRIRAMK@charlie.usd.edu Cc: postgres@postgres.Berkeley.EDU Subject: Re: Error in using GetAttributeByName in a function Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki) In-reply-to: Your message of Sun, 4 Dec 1994 14:53:39 -0600 (CST) <941204145339.26149@charlie.usd.edu> Date: Sun, 04 Dec 94 13:07:00 -0800 X-Sender: aoki@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU X-Mts: smtp Resent-Date: Sun, 04 Dec 94 13:07:23 -0800 Resent-XMts: smtp SRIRAMK@charlie.usd.edu writes: > My function given below doesn't work. > strcpy(folder_name, (char *) GetAttributeByName(t,"fldrname")); > WARN:Nov 26 20:44:22:GetAttributeByName: a NULL isNull flag was passed GetAttributeByName takes three arguments. the third argument is a Boolean by-reference argument that indicates whether the attribute is NULL. this was documented incorrectly in 4.1 but the documentation was finally fixed in the last release.. -- 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. ============================================================================== URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/