Schema
Owner
Administrateur
Tablespace
(default)
Descriptions
There is no description for table plac
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
plac |
integer |
|
|
|
|
||
campagne |
integer |
|
|
|
|
|||
date_obs |
date |
|
|
|
|
|||
placette |
integer |
|
|
|
|
|||
|
|
libplac |
char |
|
|
|
|
|
|
|
autindrep |
integer |
|
|
|
|
|
|
|
autrep |
char |
|
|
|
|
|
|
|
NBPC |
integer |
|
|
|
|
|
|
|
OBSERVATION |
text |
|
|
|
|
|
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
campagne |
campagne |
No Action |
No Action |
|
Immediate |
|
||
placette, campagne, date_obs |
placette, campagne, date_obs |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table plac
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
plac, placette, campagne, date_obs |
|
Triggers
There are no triggers for table plac
Rules
There are no rules for table plac
Policies
There are no policies for table plac
Referenced
Table | Schema | Foreign Key | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
plac, placette, campagne, date_obs |
plac, placette, campagne, date_obs |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
106 |
Pages |
3 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE generique334.plac (
plac INTEGER NOT NULL,
campagne INTEGER NOT NULL,
date_obs DATE NOT NULL,
placette INTEGER NOT NULL,
libplac CHAR,
autindrep INTEGER,
autrep CHAR,
"NBPC" INTEGER,
"OBSERVATION" TEXT,
CONSTRAINT pk_generique334_plac PRIMARY KEY(plac, placette, campagne, date_obs),
CONSTRAINT fk_plac_to_campagne FOREIGN KEY (campagne)
REFERENCES generique334.campagne(campagne)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT fk_plac_to_observation FOREIGN KEY (placette, campagne, date_obs)
REFERENCES generique334.observation(placette, campagne, date_obs)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |