In this task you will learn how to connect to the PostgreSQL Shared
Library.
Part, Subsystem, and Material libraries all support shared libraries, but each is
independent of the other. The PostgreSQL server can be used to host the vaults where
files (like
.hm or
.fem) are stored.
Note: PostgreSQL must be installed on the system that is hosting the library.
This is typically a machine that is accessible by the team and is not in danger
of being turned off.
-
To create a shared library:
-
Open the relevant browser depending on which type of library you want
to create.
-
Inside the browser, right-click and select from the context menu.
The Libraries dialog displays.
-
Click the + sign in the middle-right of the
dialog.
-
In the Library type field, select Shared.
-
In the Library host field, type the name of the host machine running
PostgreSQL. The default will show as localhost.
-
In the Library port field, type the number of the port that the
PostgreSQL installation is using. This should be left as 5432 if the
Postgres installation instructions were followed.
-
In the Library path field, browse to the location of the library
folder. This can be a new, empty folder.
-
In the Library name field, type the name of the library. This defaults
to the name of the folder created in the previous step.
-
Click Add.
The library is created.
-
To add an existing library:
-
Open the relevant browser depending on which
type of library you want to create.
-
Inside the browser, right-click and select from the context menu.
The Libraries dialog displays.
-
Click the + sign in the middle-right of the
dialog.
-
In the Library type field, select Shared.
-
In the Library host field, type the name of the host machine running
PostgreSQL. The default will show as localhost.
-
In the Library port field, type the number of the port that the
PostgreSQL installation is using. This should be left as 5432 if the
Postgres installation instructions were followed.
-
In the Library path field, browse to the location of the library
folder. This can be a new, empty folder.
-
In the Library name field, type the name of the library. This defaults
to the name of the folder created in the previous step.
-
Click Add.
The library is added.
-
To connect to the library, select the library in the list and then
click Connect.