Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eBTMlPL35159 for ; Fri, 29 Dec 2000 17:47:25 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBP21OL06281 for ; Sun, 24 Dec 2000 21:01:24 -0500 (EST) (envelope-from news@news.tht.net) Received: from news.tht.net (news.hub.org [216.126.91.242]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id NAA11001 for ; Sun, 24 Dec 2000 13:07:28 GMT (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.9.3/8.9.3) id LAA34387 for pgsql-admin@postgresql.org; Sun, 24 Dec 2000 11:57:33 -0500 (EST) (envelope-from news) X-Authentication-Warning: news.tht.net: news set sender to using -f From: "xyzii" X-Newsgroups: comp.databases.postgresql.admin Subject: pg_dumap not include foreign key... Date: Mon, 25 Dec 2000 00:57:26 +0800 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 32 Message-ID: <9259tr$11ig$1@news.tht.net> X-Trace: news.tht.net 977677052 34384 210.244.71.101 (24 Dec 2000 16:57:32 GMT) X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: pgsql-admin@postgresql.org X-Archive-Number: 200012/159 X-Sequence-Number: 355 me datastru ,try pg_dumpall > aa.out what not include foreign key...... CREATE TABLE "purcsub" ( "trn_no" char(14) NOT NULL, "seq" int4 DEFAULT nextval('seq'::text), "pmrc_no" varchar(14), "item_no" char(20) NOT NULL, "item_na1" varchar(120), "color_na" varchar(20), "ware_no" char(4), "unit" varchar(4), "trn_qty" int2, "qty" float8 default 0, "sqty" float8 default 0, "price" float8 default 0, "sprice" float8 default 0, "discount" float8 default 0, "amount" float8 default 0, "memo" varchar(20), "trn_type" varchar(2), "trn_date" date, "fact_no" char(20), "giveaway" varchar(1), foreign key (trn_no) references purc (trn_no) ON DELETE CASCADE ON UPDATE CASCADE ); 未命名文件英 國 保 誠 人 壽 業務主任:黃 孝 宇服務專線:0932-535772 mailto:msee@kimo.com.tw