Schéma modèle postgresql, Annexe d – Apple Remote Desktop 3.0 Manuel d'utilisation

Page 189

Advertising
background image

189

D

Anne

xe

D

Schéma modèle PostgreSQL

Ce chapitre contient des commandes SQL permettant d’aider
les programmeurs SQL à obtenir le schéma de base de don-
nées utilisé dans la base de données de rapports d’Apple
Remote Desktop. Vous pouvez utiliser ces connaissances du
schéma afin de créer vos propres applications qui accèdent
aux informations des rapports Apple Remote Desktop.

Modèle de liste du schéma de la base de données principale
Commande :

/System/Library/CoreServices/RemoteManagement/rmdb.bundle/bin/psql -U ard -

c "\\d propertynamemap" ard

Sortie :

Table "public.propertynamemap"

Column | Type | Modifiers

---------------+------------------------+-----------

objectname | character varying(128) | not null

propertyname | character varying(128) | not null

propertymapid | integer |

Modèle de liste du tableau d’informations système.
Commande :

/System/Library/CoreServices/RemoteManagement/rmdb.bundle/bin/psql -U ard

-c "\\d systeminformation" ard

Sortie :

Table "public.systeminformation"

Column | Type | Modifiers

--------------+--------------------------+-----------

computerid | character(17) | not null

objectname | character varying(128) | not null

propertyname | character varying(128) | not null

itemseq | integer |

value | character varying(512) |

lastupdated | timestamp with time zone |

Advertising