This section provides an explanation on the preparation to be carried out if you are outputting error logs to the event log.
If outputting error logs to the event log, you should register an event source name beforehand.
If you do not register an event source name, the message content output to the event log may be incomplete.
Due to the default event source name "Symfoware Server Open Interface" being output to the event log when using the following commands, you should register this default event source name beforehand:
pg_ctl command
pgx_dmpall command
pgx_rcvall command
The following is an example in which the DLL of a 64-bit product is registered under the default event source name:
regsvr32 "C:\Program Files\Fujitsu\symfoserver64\lib\pgevent.dll"
If using multiple instances
You can output messages corresponding the event source name assigned by the user, so that messages output to the event log can be identified by instance.
The following is an example in which the DLL of a 64-bit product is registered under the event source name "Symfoware Server inst1":
regsvr32 /n /i:"Symfoware Server inst1" "C:\Program Files\Fujitsu\symfoserver64\lib\pgevent.dll"
You will need to edit the parameters for each instance, therefore, after creating an instance, refer to "4.5.1 Error Log Settings" when performing this setting.
Note that this step is not required if using WebAdmin to create an instance.
If installing multiple versions
If Symfoware Server is already installed on the same machine, search for the key below in Registry Editor, and make a note of the path of the registered DLL. Afterwards, register a new DLL under the default event source name.
Use the DLL path that you made a note of in the above step when re-registering the default event source name during an uninstall.
Symfoware Server Open Interface
See
Refer to "Registering Event Log on Windows" in "Server Administration" in the PostgreSQL Documentation for information on how to register event source names.