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 BAA10836 for postgres-redist; Wed, 25 Jan 1995 01:43:17 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199501250943.BAA10836@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 BAA10826 for ; Wed, 25 Jan 1995 01:43:17 -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 BAA29151; Wed, 25 Jan 1995 01:43:12 -0800 Message-Id: <199501250943.BAA29151@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: yutaka-i@is.aist-nara.ac.jp Cc: postgres@postgres.Berkeley.EDU Subject: Re: Tell me about. Reply-To: aoki@cs.berkeley.edu (Paul M. Aoki) In-reply-to: Your message of Thu, 19 Jan 1995 01:09:14 +0900 <9501181609.AA23492@dec324.aist-nara.ac.jp> Date: Wed, 25 Jan 95 01:43:06 -0800 X-Sender: aoki@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU X-Mts: smtp Resent-Date: Wed, 25 Jan 95 01:43:17 -0800 Resent-XMts: smtp Drunkard Terry writes: > 1: When I use "append" command as such situation below.. > monitor -TN -c "append ***** " dbname > or > monitor -TN -c " ***** " dbname > Any method for inserting the filename or script in ***** ? i would use the copy command here, since that (1) does all of the insertions in a single transaction and (2) is used with an input file. > 2: How to add/delete the attribute from the class? > If can't, I have only way [remodify the class] ? > so,how to copy the data in attribute ? > question 3 you can add attributes using "addattr". you can't remove attributes. you can dump the data out and load it back into a new class, of course, but then the oids of each row won't be the same. > 3: When I add the new attribute in the class, > Any method for copy the old attribute data > to the new"same"attribute ? > The data in old attribute(name,salary) move in > new "same name" attribute, HOW? if i understand the question, then this is what always happens when using "addattr" (old rows keep their old attribute values and have null values in the new attributes). -- 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/