Schema
Owner
postgres
Tablespace
(default)
Descriptions
Table des codes Duplat. Informations relatives aux codes Duplat (Onglet Code_Duplat)
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
cdup_id |
serial |
|
nextval('tr_code_duplat_cdup_cdup_id_seq'::regclass) |
Identifiant automatique numérique du code Duplat |
|||
|
|
cdup_code |
integer |
|
|
|
Code numérique du code Duplat |
|
|
|
cdup_nom |
varchar(255) |
|
|
|
Nom du code Duplat |
|
|
|
cdup_tree |
public.ltree |
|
|
Objet ltree du code Duplat |
Foreign Keys
There are no foreign keys for table tr_code_duplat_cdup
Check Constraints
There are no check constraints for table tr_code_duplat_cdup
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
cdup_tree |
|
L'objet ltree d'un code Duplat doit être unique |
||
btree |
|
cdup_id |
|
|||
gist |
|
cdup_tree |
|
|
Index d'optimisation de parcours d'arbre sur l'objet tree de type ltree |
Triggers
There are no triggers for table tr_code_duplat_cdup
Rules
There are no rules for table tr_code_duplat_cdup
Policies
There are no policies for table tr_code_duplat_cdup
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
dis_cdup_id |
cdup_id |
No Action |
No Action |
|
Immediate |
Un dispositif correspond à un et un seul code duplat |
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
|
Definition
CREATE TABLE public.tr_code_duplat_cdup (
cdup_id SERIAL,
cdup_code INTEGER NOT NULL,
cdup_nom VARCHAR(255) NOT NULL,
cdup_tree public.ltree NOT NULL,
CONSTRAINT c_uni_tree_cdup UNIQUE(cdup_tree),
CONSTRAINT tr_code_duplat_cdup_pkey PRIMARY KEY(cdup_id)
)
WITH (oids = false);
COMMENT ON TABLE public.tr_code_duplat_cdup
IS 'Table des codes Duplat. Informations relatives aux codes Duplat (Onglet Code_Duplat)';
COMMENT ON COLUMN public.tr_code_duplat_cdup.cdup_id
IS 'Identifiant automatique numérique du code Duplat';
COMMENT ON COLUMN public.tr_code_duplat_cdup.cdup_code
IS 'Code numérique du code Duplat';
COMMENT ON COLUMN public.tr_code_duplat_cdup.cdup_nom
IS 'Nom du code Duplat';
COMMENT ON COLUMN public.tr_code_duplat_cdup.cdup_tree
IS 'Objet ltree du code Duplat';
COMMENT ON CONSTRAINT c_uni_tree_cdup ON public.tr_code_duplat_cdup
IS 'L''objet ltree d''un code Duplat doit être unique';
CREATE INDEX x_gist_tree_cdup ON public.tr_code_duplat_cdup
USING gist (cdup_tree public.gist_ltree_ops);
COMMENT ON INDEX public.x_gist_tree_cdup
IS 'Index d''optimisation de parcours d''arbre sur l''objet tree de type ltree';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |