[pgsql-jp: 30751] テーブルの継承について
Han yp
Hanyp @ dhc.com.cn
2003年 8月 11日 (月) 17:33:51 JST
皆さん、こんにちは。
韓です。
次のように親テーブルserviceを継承して、子テーブルservice_0を作成しています
が、
親テーブルserviceに二つの主キーがあるけど、子テーブルservice_0にないでした。
何故ですか、あるはずだと思います。
また、「Triggers: srvc0_trg」というのはどうな意味ですか。
どちら様が知ったら、お教えてくださいませんか。
bs2=# \d service
Table "public.service"
Column | Type | Modifiers
-------------+-----------------------------+-----------
type | text | not null
id | bigint | not null
name | text | not null
apply_date | date | not null
end_date | date |
last_update | timestamp without time zone |
Indexes: service_pk primary key btree (id, apply_date)
bs2=# \d service_0;
Table "public.service_0"
Column | Type | Modifiers
----------------+-----------------------------+-----------
type | text | not null
id | bigint | not null
name | text | not null
apply_date | date | not null
end_date | date |
last_update | timestamp without time zone |
target_service | bigint |
Triggers: srvc0_trg
pgsql-jp メーリングリストの案内