pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: xyzii <xyzii@kimo.com.tw>
To: pgsql-admin@postgresql.org
Subject: pg_dumap not include foreign key...
Date: Mon, 25 Dec 2000 00:57:26 +0800
Message-ID: <9259tr$11ig$1@news.tht.net> (raw)

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

);

¥¼©R¦W¤å¥ó­^ °ê «O ¸Û ¤H ¹Ø ·~°È¥D¥ô¡G¶À §µ ¦tªA°È±M½u¡G0932-535772
mailto:msee@kimo.com.tw





view thread (2+ messages)  latest in thread

Message-ID: <9259tr$11ig$1@news.tht.net>
Permalink:  ../9259tr$11ig$1@news.tht.net/
Also on:    postgresql.org/message-id/9259tr$11ig$1@news.tht.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xyzii@kimo.com.tw
  Subject: Re: pg_dumap not include foreign key...
  In-Reply-To: <9259tr$11ig$1@news.tht.net>
  References: <9259tr$11ig$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox