Le fichier projet: Structure de dossier de projet : Format INI


Le format INI, comme dans le fichier de configuration du programme est un format classique, avec les paramètres appropriés regroupés en blocs, et chaque variable (ou la caractéristique de l'objet) avec sa valeur, chacune décrite en une seule ligne, dans le format: variable = Valeur.

Sauf pour quelques-unes des fonctionnalités, dédiées à la objets graphiques du projet ont trait à des propriétés spécifiques PostgreSQL, qui se réfèrent à la documentation officielle de l'instruction de l'affaire.

Group Element Type Default Description
pgDesigner   Group features of the project file.
Version String <blank> Identifies version of the file. The official version is the release of pgDesigner; in latest release has been revised methodology and diverse classes numbering between the application and project files. Where possible has been maintained a certain compatibility with earlier versions, but this does not exclude the probability an old project can not be read with the new release of pgDesigner.
PROJECT   Group characteristics of the project.
Author String <blank> Author's name.
It contains the name of the project.
Description String <blank> Project Description.
It can contain a brief description of the project.
Display Numeric 0 Number of current display.
Indicates the number of active display. Immediately after loading the project, the application sets this display as current display, showing only the diagram objects contained in this display.
Driver String 8.0 Number Identification version of PostgreSQL.
The value determines the characteristics of the project, and determines the type of database that you want to create.
Name String <blank> Project Name (required).
Orientation Numeric 0 Orientation of the press:
0 = Portrait
1 = Landscape
The setting is used for the default configuration for prints, but can be changed within the application.
Page String A4 Page Format Printing.
The setting is used for the default configuration for prints, but can be changed within the application.
Revision String <blank> Given the last change in format: dd/mm/yyyy hh:mm:ss.
The value does not drive the project, but is only used as an indicator and is updated every time you make a change to the project.
OBJECTS   Contains the number of objects present in the file, separated by type.
Area Numeric 0 Counter.
This indicates the total number of objects of type area in the file.
Domain Numeric 0 Counter.
This indicates the total number of domain objects of type in the file.
Text Numeric 0 Counter.
This indicates the total number of objects of type text in the file.
Procedure Numeric 0 Counter.
This indicates the total number of objects of type procedure / function in the file.
Relation Numeric 0 Counter.
This indicates the total number of objects in relation type in the file.
Sequence Numeric 0 Counter.
This indicates the total number of objects of type sequence in the file.
Table Numeric 0 Counter.
This indicates the total number of objects of type table in the file.
Tablespace Numeric 0 Counter.
This indicates the total number of objects of type tablespace in the file.
Trigger Numeric 0 Counter.
This indicates the total number of objects trigger type in the file.
Type Numeric 0 Counter.
This indicates the total number of objects of type "type" in the file.
View Numeric 0 Counter.
This indicates the total number of objects of type view, contained in the file.
DISPLAYS   It contains all the features of the display (or views) of the project.
The group is defined once, and all group and display objects contained in each of them.
Display Numeric 0 Total display defined in the project.
Display[d] String <blank> Each display is defined in a single line, identified by a serial number "d" enclosed in square brackets (as an array). The parameters of the display are enclosed in double quotes, separated by commas. The order of elements is as follows:
  1. Identification Display
  2. Name Display
  3. Description display
Display[d][n] String <blank> Every object in the display (identified by progressive "d"), is defined in a single line, identified by a serial number "n". The parameters are enclosed in double quotes, separated by commas. The order of elements is as follows:
  1. Name of the object in the display
  2. Coordinated X inside of the display
  3. Coordinated Y inside of the display
AREA_<n>   Contains features of a single type of subject area.
Each object is identified by the label "AREA_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the area.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
W Numeric 0 Width of the object.
H Numeric 0 Height of the object.
Display Numeric 0 Number display to which the object is associated.
Color String 0,0,0 Background color of the object (size: r, g, b).
Description String <blank> Text content in the object.
Bold Logic 0 Printing bold (0 = normal, 1 = bold).
DOMAIN_<n>   Contains features of a single type of object domain.
Each object is identified by the label "DOMAIN_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the domain.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Check String <blank> The clause specifies the integrity constraints or verify what domain must be satisfied.
DefaultValue String <blank> The clause specifies a default value for the columns of the type of domain.
NullValue String <blank> It allows you to enter null values.
Type1 String <blank> The data type domain.
Type2 String <blank> The data type domain.
Type3 String <blank> The data type domain.
Constraint String <blank> The name of the optional constraint.
Comment String <blank> Description object.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
PROCEDURE_<n>   Has the characteristics of a single object type procedure / function.
Each object is identified by the label "PROCEDURE_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of procedure / function.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Argument String <blank> The name of an argument of the function.
Argument2 String <blank> The type of the function's arguments, if any.
Definition String <blank> A string defining the content of the function, the internal structure is dependent on the language used.
Language String <blank> The name of the language used in the implementation of the function.
Property1 String <blank> This attribute inform the system to save any multiple assessments function, treating them as a single. Values admitted: IMMUTABLE, unstable or VOLATILE.
Mode function call. Values admitted: "CALLED ON INPUT NULL” or “RETURNS NULL NULL ON INPUT".
Property3 String <blank> Privileges of function call: Values admitted: "SECURITY INVOKER" or "SECURITY DEFINER”.
ReturnValue String <blank> The type of the return value.
ReturnValue2 String <blank> The type of the return value.
Comment String <blank> Description object.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
RELATION_<n>   Contains features of a single type of object relation.
Each object is identified by the label "RELATION_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the object.
X1 Numeric 0 Coordinated X of the table than the father.
Y1 Numeric 0 Coordinated Y of the table than his father.
X2 Numeric 0 Coordinated X of the table than the daughter.
Y2 Numeric 0 Coordinated Y of the table than the daughter.
Table1 String <blank> Table Name father.
Table2 String <blank> Name table daughter.
OnUpdate String <blank> The clause specifies the action to take when a line of the table is referenced amended.
OnDelete String <blank> The clause specifies the action to take when a line of the table is referenced canceled.
Relation_<n> String <blank> Any link between the two camps is defined in a single line, identified by a serial number that corresponds to the position in the same relation. The two fields are enclosed in double quotes, separated by a comma. The order is as follows:
  1. Field table father
  2. Field table daughter
ColorLine String 0,0,0 Color line (size: r, g, b).
ColorLineSelected String 0,0,0 Color line when selected (size: r, g, b).
ColorStartPoint String 0,0,0 Color initial point (size: r, g, b).
ColorMiddlePoint String 0,0,0 Color central point (size: r, g, b).
ColorEndPoint String 0,0,0 Color terminal point (size: r, g, b).
SEQUENCE_<n>   Has the characteristics of a single object type sequence.
Each object is identified by the label "SEQUENCE_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of sequence.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Cache Numeric 0 Optional clause specifying how many sequential numbers must be preallocati and stored for fast access.
Increment Numeric 0 Value of increase.
The property is optional and specifies what value is added to the current value of the sequence for the creation of a new value.
Initial Numeric 0 The property is optional to activate the sequence starting from this value.
Iterate Logic 0 The option allows the restart sequence numbering to achieve maximum or minimum values. Values allowed: 0 or 1.
MaxValue Numeric 0 The clause is optional and determines the maximum value of the sequence.
MinValue Numeric 0 The clause is optional and determines the minimum value of the sequence.
Comment String <blank> Description object.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
TABLE_<n>   Has the characteristics of a single object type table.
Each object is identified by the label "TABLE_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the table.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Comment String <blank> Description object.
Option String <blank> The clause is optional and if specific lines of the table should have the object identifier (OID).
PrimaryKey String <blank> Specify whether the column or columns of a table must contain unique values (unduplicated).
Tablespace String <blank> The name of the tablespace where you create a new table.
Field_<n> String <blank> Each column is described in a single line, identified by a serial number that corresponds to the position in the table. Parameter column enclosed within double quotes, separated by a "|". The order parameter column is as follows:
  1. Field name
  2. Description of the field
  3. Value of default: assigns a default value for column
  4. The size of the field
  5. Flag enabling column containing null values
  6. Primary key: specifies that the column must contain unique values (unduplicated)
  7. The data type column
  8. The data type column
  9. Check: specifies an expression that returns a value logical lines when new or modified meet an input or update.
Index_<n> String <blank> Each index is defined in a single line, identified by a serial number. The parameters are in the enclosed within double quotes, separated by a "|". The order of the parameters is as follows:
  1. Name index
  2. Name of tablespace where the index is created
  3. Unique: Specifies that the columns in the index must contain only unique values.
  4. List the fields of the table, separated by commas.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
TABLESPACE_<n>   Has the characteristics of a single object type tablespace.
Each object is identified by the label "TABLESPACE_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of tablespace.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Location String <blank> The directory used for the tablespace.
Owner String <blank> Username owner of the tablespace.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
TEXT_<n>   Has the characteristics of a single object type text.
Each object is identified by the label "TEXT_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the text.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Alignment String L Text alignment:
L = Left
C = centered
R = Right
Value String <blank> Contents of the text.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorFore String 0,0,0 Color text (size: r, g, b).
ColorForeSelected String 0,0,0 Color text when selected (size: r, g, b).
TRIGGER_<n>   Contains features of a single type of object triggers.
Each object is identified by the label "TRIGGER_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of triggers.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
BeforeAfter String <blank> Determines if the function is called before or after the event. It can take the following values: BEFORE or AFTER.
InsUpdDel String <blank> Specifies that the event should be triggered by the trigger. It can take the following values: INSERT, UPDATE or DELETE.
Procedure String <blank> The function name, declared without an argument and returns a value of type trigger, which is performed when the trigger is activated.
Table String <blank> The name of the table on which the trigger is activated.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
TYPE_<n>   Contains features of a single type of object "type".
Each object is identified by the label "TYPE_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of the object type.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Input String <blank> Name function that converts the data from an external type to a type of procedure.
Output String <blank> Name function that converts data from one type to a type internal external.
Receive String <blank> Name function that converts the data from an external binary type to a type of procedure.
Send String <blank> Name function that converts data from one type to an internal binary type outside.
Analize String <blank> Name function that performs the statistical analysis for the data type.
InternalLength Numeric 0 Constant number that specifies the length in bytes of internal representation of the new type.
PassedByValue Logic 0 Indicates that the values of this type of data are passed by value or by reference. Values allowed: 0 or 1.
Alignment String <blank> Alignment of memory required for the data type. If specified, it must be char, int2, int4, or double.
Storage String <blank> Strategy memory for the data type. If specified, it must be plain, external, extended, or main.
DefaultValue String <blank> The default value for the type of data.
Element String <blank> The type is created in an array; specifies the type of the array elements.
Delimiter String <blank> Character used delimiter between the values built into arrays of this type.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).
VIEW_<n>   Has the characteristics of a single object type view.
Each object is identified by the label "VIEW_", followed by a serial number. This number is set automatically by operation of rescuing the project.
Name String <blank> Name of view.
X Numeric 0 Coordinated X of the object.
Y Numeric 0 Coordinated Y of the object.
Definition String <blank> Definition SQL.
Comment String <blank> Description object.
ColorBack String 0,0,0 Background Color (size: r, g, b).
ColorText String 0,0,0 Color text (size: r, g, b).
ColorBackTitle String 0,0,0 Background Color of Title (size: r, g, b).
ColorBackTitleSelected String 0,0,0 Background Color of Title when selected (size: r, g, b).
ColorForeTitle String 0,0,0 Color title (size: r, g, b).
ColorForeTitleSelected String 0,0,0 Color title when selected (size: r, g, b).