The PostgreSQL tab enables you to modify configuration settings
specific to PostgreSQL databases.
You can download a preconfigured package for PostgreSQL support
in the Add-On
Packages topic.
The fields in http.ini specific to
the PostgreSQL section are shown below:
[PostgreSQL]
; PostgreSQL Engine settings
Start=1
DemonDir=##DWEBPRO_PATH##\engine\postgresql\bin
DataDir=##DWEBPRO_PATH##\engine\postgresql\data
CustomParams=
; Network settings
Port=5432
FindFreePort=0
; Startup / Shutdown settings
RunLocally=0
ShowShutDownTimeOutMessage=0
ShutDownTimeout=5000
ShutDownOnExit=1
; File Copy settings
DestinationDir=##TEMP##\DWeb\postgresql\data
DatabaseVersion=1
DeleteOldDatabases=1
ShowCopyProgressWindow=1
Overwrite=0
AskUserForOverwrite=0
AskUserForOverwriteDefaultButton=Yes
ClearOnShutDown=0
AskUserForClearOnShutDown=0
AskUserForClearOnShutDownDefaultButton=Yes
; Interactive Install
UseInteractiveInstall=0
SpaceNeeded=1048576
PostgreSQL Engine settings
Start PostgreSQL
Start
Start
PostgreSQL specifies whether PostgreSQL is started upon
start up of DWebPro
Accepted values: 0, 1
Daemon Path
DaemonPath
Daemon
Path specifies the path pointing to the PostgreSQL daemon,
normally
postmaster.exe, that will be
opened by DWebPro. Refer to the
DWebPro Internal Constants topic
for additional information.
Accepted values: string
Data Directory
DataDir
Data
Directory specifies the path to the directory where the
PostgreSQL database files reside. Refer to the
DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
|
|
Our preconfigured PostgreSQL 7.2 package has a limit specific to
the data directory (DataDir). This version cannot work if
the data directory has a path exceeding 64 characters. This means
that the destination directory (DestinationDir) must be
shorter than 64 characters. Under Windows 2000/XP/2003, the user's
temporary folder is usually located in a long path (for example,
C:\Documents and
Settings\Administrator\Local Settings\Temp\) that is 60
characters long. Therefore, use caution when using the
##TEMP## variable. You can instead use
##DWEBPRO_PERSONAL##, which refers to the Documents folder.
|
Custom Params
CustomParams
Custom
Params specifies additional parameters that can be passed to
the PostgreSQL daemon at startup.
Accepted values: string
Network settings
Port
Port
Port
specifies the port on which PostgreSQL listens.
Accepted values: integer
Find Free Port
FindFreePort
Find Free
Port specifies whether DWebPro should search for free ports
on which to start PostgreSQL. Refer to the
DWebPro Internal Constants topic
for additional information.
Accepted values: 0, 1
Startup / Shutdown settings
Run Locally
RunLocally
When you use PostgreSQL from CD/DVD,
DWebPro automatically copies some files to the user's file system
to enable PostgreSQL to work correctly. Select the Run Locally option to avoid this copy process.
Note that you may safely select the Run
Locally option only when you run DWebPro from a hard drive
or other writable media. It can be useful to select the
Run Locally option during the
development phase.
Accepted values: 0, 1
Show Shutdown Timeout Message
ShowShutDownTimeOutMessage
Show Shutdown
Timeout Message specifies whether DWebPro prompts the user
prior to closing PostgreSQL.
Accepted values: 0, 1
Shutdown Timeout
ShutDownTimeout
Shutdown
Timeout specifies the timeout, in milliseconds, before
PostgreSQL is forced to close.
Accepted values: integer
Shutdown on Exit
ShutDownOnExit
Shutdown on
Exit specifies whether PostgreSQL is closed on DWebPro
shutdown.
Accepted values: 0, 1
File Copy settings
Destination Directory
DestinationDir
Destination
Directory specifies the path of the directory to which the
PostgreSQL files will be copied. Refer to the
DWebPro Internal Constants topic
for additional information on paths.
Accepted values: string
Database Version
DatabaseVersion
Database
Version specifies the version of the PostgreSQL database. If
you want to distribute your application with different versions of
the database or distribute an updated version of the database
within the same application, you can use this field to specify
which version of the database you are distributing and let DWebPro
automatically start the database server with the correct
database.
Accepted values: integer
Delete Old Databases
DeleteOldDatabases
Delete Old
Databases specifies whether DWebPro has to delete an
existing PostgreSQL database before copying a new one.
Accepted values: 0, 1
Show Copy Progress Window
ShowCopyProgressWindow
Show Copy
Progress Window specifies whether the progress window
displays during file copy routines.
Accepted values: 0, 1
Overwrite Data
Overwrite
Overwrite
Data specifies whether the databases copied to the user's
hard drive are overwritten.
Accepted values: 0, 1
Ask User for Overwrite
AskUserForOverwrite
Ask User for
Overwrite specifies whether DWebPro prompts the user to
confirm the copy of the files if the destination directory already
exists.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files copy.
Accepted values: Yes, No
Clear on Shutdown
ClearOnShutDown
Clear on
Shutdown specifies whether DWebPro deletes the files copied
to the user's file system prior to closing.
Accepted values: 0, 1
Ask User for Clear on Shutdown
AskUserForClearOnShutDown
Ask User
Clear on Shutdown specifies whether DWebPro prompts the user
to confirm the deletions of the files in the destination directory
prior to closing.
Accepted values: 0, 1
Default Button
AskUserForOverwriteDefaultButton
Default
Button specifies the default button on the confirmation form
for files deletion.
Accepted values: Yes, No
Interactive Install settings
Use Interactive Install
UseInteractiveInstall
Use
Interactive Install specifies whether DWebPro uses the
Interactive Installation procedure. Refer to the
Interactive Install Workflow
topic for more information.
Accepted values: 0, 1
Space Needed
SpaceNeeded
Space
Needed specifies the needed space for the copy. Use the
drop-down box to the right of this field to specify the units of
space desired. This option is relevant only when using the
Use Interactive Install option.
Refer to the
Interactive Install Workflow
topic for more information.
Accepted values: integer