db_toff on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Table: tr_sex_sex

 

 

Schema

public

 

Owner

postgres

 

Tablespace

(default)

 

Descriptions

Table displaying the sex list / Table contenant la liste des sexes

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

sex_id

serial

 

nextval('tr_sex_sex_sex_id_seq'::regclass)

Automatic ID of the sex / Identifiant automatique du sexe

 

 

sex_wording

varchar(30)

 

 

Sex wording / Libelle du sexe

 

Foreign Keys

There are no foreign keys for table tr_sex_sex

 

Check Constraints

There are no check constraints for table tr_sex_sex

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

c_uni_description_sex

btree

 

sex_wording

 

sex_wording must be unique / le champ sex_wording ne peut contenir de doublons

tr_sex_sex_pkey

btree

 

sex_id

 

 

Triggers

There are no triggers for table tr_sex_sex

 

Rules

There are no rules for table tr_sex_sex

 

Policies

There are no policies for table tr_sex_sex

 

Referenced

Table

Schema

Foreign Key

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

t_measure_mea

public

c_fk_sex_mea

mea_sex_id

public.tr_sex_sex

sex_id

No Action

No Action

 

Immediate

A measure is related to only one sex / Une mesure est associée à un et un seul sexe

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

 

Definition

CREATE TABLE public.tr_sex_sex (
 sex_id SERIAL,
 sex_wording VARCHAR(30) NOT NULL,
 CONSTRAINT c_uni_description_sex UNIQUE(sex_wording),
 CONSTRAINT tr_sex_sex_pkey PRIMARY KEY(sex_id)
)
WITH (oids = false);

COMMENT ON TABLE public.tr_sex_sex
IS 'Table displaying the sex list / Table contenant la liste des sexes';

COMMENT ON COLUMN public.tr_sex_sex.sex_id
IS 'Automatic ID of the sex / Identifiant automatique du sexe';

COMMENT ON COLUMN public.tr_sex_sex.sex_wording
IS 'Sex wording / Libelle du sexe';

COMMENT ON CONSTRAINT c_uni_description_sex ON public.tr_sex_sex
IS 'sex_wording must be unique / le champ sex_wording ne peut contenir de doublons';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 19/06/2019 10:17
Previous topic Chapter index Next topic