;
;  uxpscfg.ini
;

; ===============================================================================
; SECTION NAME: INI Migration 
;
; This secstion specifies the registry settings that will be migrated when 
; upgrading from a previous release of PSQL that used bti.ini. 
; The previous settings are on the left of the equal sign (=) 
; and the to-be-used settings are on the right.
; ===============================================================================
[INI Migration]
; KEY: if the key being migrated already exists, the previous registry settings
; will be replaced with the migrated settings.
REPLACE=YES
; KEY: the root of the registry key to which the migration applies.
ROOT=SOFTWARE\Actian\Zen\

; FORMAT OF SETTINGS TO BE MIGRATED: Prior Version=New Version
; "$to" verion number will be set to the version being installed.
; The PSQL install process will copy existing configuration settings and values
; and retain the values specified by the user for his particular environment.
; Comment out any settings you do not want to migrate. 
; Settings not migrated will use new default values.

; Settings for Engines - Directories
Database Names\DBNamesDirectory=Database Names\Version $to\Settings\DBNamesDirectory

; Settings for Server Engines - Access
MicroKernel\Allow Client-Stored Credentials=MicroKernel Server Engine\Version $to\Settings\Allow Client-Stored Credentials
MicroKernel\Prompt For Client Credentials=MicroKernel Server Engine\Version $to\Settings\Prompt For Client Credentials
MicroKernel\RemoteEnabled=MicroKernel Server Engine\Version $to\Settings\Remote Sessions Enabled
MicroKernel\SmbConf=MicroKernel Server Engine\Version $to\Settings\SmbConf
MicroKernel\UnixAuthenticate=MicroKernel Server Engine\Version $to\Settings\UnixAuthenticate

; Settings for Server Engines - Communication protocols
;MicroKernel\AutoReconnect Timeout=MicroKernel Server Engine\Version $to\Settings\AutoReconnect Timeout,uint
;MicroKernel\Enable AutoReconnect=MicroKernel Server Engine\Version $to\Settings\Enable AutoReconnect
MicroKernel\Listen IP Address=MicroKernel Server Engine\Version $to\Settings\Listen IP Address
MicroKernel\TCPIP Multi-Homed=MicroKernel Server Engine\Version $to\Settings\TCPIP Multi-Homed

; Settings for Server Engines - Compatibility
MicroKernel\ForceFileVersion=MicroKernel Server Engine\Version $to\Settings\File Version
MicroKernel\SystemData=MicroKernel Server Engine\Version $to\Settings\System Data

; Settings for Server Engines - Data integrity
MicroKernel\Logging=MicroKernel Server Engine\Version $to\Settings\Logging
MicroKernel\TransDurability=MicroKernel Server Engine\Version $to\Settings\Transaction Durability
MicroKernel\TransLogging=MicroKernel Server Engine\Version $to\Settings\Transaction Logging
MicroKernel\WaitLockTimeout=MicroKernel Server Engine\Version $to\Settings\Wait-lock Timeout,uint

; Settings for Server Engines - Memory usage
MicroKernel\MergeSortBufferSize=MicroKernel Server Engine\Version $to\Settings\Merge Sort Buffer Size
MicroKernel\MinState=MicroKernel Server Engine\Version $to\Settings\Minimal States
MicroKernel\MinStateDelay=MicroKernel Server Engine\Version $to\Settings\Minimal States Delay,uint
MicroKernel\Preallocate=MicroKernel Server Engine\Version $to\Settings\Preallocate
MicroKernel\SystemCacheSize=MicroKernel Server Engine\Version $to\Settings\System Cache

; Settings for Server Engines - Performance tuning
MicroKernel\BackgroundThreads=MicroKernel Server Engine\Version $to\Settings\Background Threads,uint
MicroKernel\CacheSize=MicroKernel Server Engine\Version $to\Settings\Cache Size,uint
MicroKernel\File Growth Factor=MicroKernel Server Engine\Version $to\Settings\File Growth Factor,uint
MicroKernel\Limit Segment Size to 2Gb=MicroKernel Server Engine\Version $to\Settings\Limit Segment Size to 2Gb
MicroKernel\MaxCacheUsage=MicroKernel Server Engine\Version $to\Settings\Max MicroKernel Memory Usage,uint
MicroKernel\TransLogBufferSize=MicroKernel Server Engine\Version $to\Settings\Transaction Log Buffer Size,uint
MicroKernel\TransLogDirectory=MicroKernel Server Engine\Version $to\Settings\Transaction Log Directory
MicroKernel\TransLogFileSize=MicroKernel Server Engine\Version $to\Settings\Transaction Log File Size,uint

; Settings for Server Engines - miscellaneous
MicroKernel\Max Pending IO=MicroKernel Server Engine\Version $to\Settings\Max Pending IO,uint
MicroKernel\Reject Count=MicroKernel Server Engine\Version $to\Settings\Reject Count
MicroKernel\Special Options=MicroKernel Server Engine\Version $to\Settings\Special Options
MicroKernel\SysTransBundleLimit=MicroKernel Server Engine\Version $to\Settings\Systrans Bundle Limit,uint
MicroKernel\SysTransTimeLimit=MicroKernel Server Engine\Version $to\Settings\Systrans Time Limit,uint


; ===============================================================================
; SECTION NAME: Registry Migration 
;
; This secstion specifies the registry settings that will be migrated when 
; upgrading from a previous release of PSQL that used the PS registry.
; The previous settings are on the left of the equal sign (=) 
; and the to-be-used settings are on the right.
; ===============================================================================
[Registry Migration]
; KEY: if the key being migrated already exists, the previous registry settings
; will be replaced with the migrated settings.
REPLACE=YES
; KEY: the root of the registry key to which the migration applies.
ROOT=SOFTWARE\Actian\Zen\

; FORMAT OF SETTINGS TO BE MIGRATED: Prior Version=New Version
; "$from" verion number (left of the equation) will be determined for the
; existing product
; "$to" verion number will be set to the version being installed.
; The PSQL install process will copy existing configuration settings and values
; and retain the values specified by the user for his particular environment.
; Comment out any settings you do not want to migrate. 
; Settings not migrated will use new default values.

; Settings for Local Client - Microkernel Router - Application characteristics 
Btrieve Requester\Version $from\Settings\Embedded Spaces=Btrieve Requester\Version $to\Settings\Embedded Spaces
Btrieve Requester\Version $from\Settings\Verify Key Length=Btrieve Requester\Version $to\Settings\Verify Key Length

; Settings for Local Client - Microkernel Router - Communication protocols
Communications Requester\Version $from\Settings\Enable AutoReconnect=Communications Requester\Version $to\Settings\Enable AutoReconnect

; Settings for Engines - Directories
Database Names\Version 4.00\Settings\DBNamesDirectory=Database Names\Version $to\Settings\DBNamesDirectory
Database Names\Version $from\Settings\DBNamesDirectory=Database Names\Version $to\Settings\DBNamesDirectory

; Settings for Local Client - Microkernel Router - Access
Microkernel Router\Version $from\Settings\Local=Microkernel Router\Version $to\Settings\Local
Microkernel Router\Version $from\Settings\Requester=Microkernel Router\Version $to\Settings\Requester
Microkernel Router\Version $from\Settings\Use IDS=Microkernel Router\Version $to\Settings\Use IDS

; Settings for Server Engines - Access
MicroKernel Server Engine\Version $from\Settings\Allow Client-Stored Credentials=MicroKernel Server Engine\Version $to\Settings\Allow Client-Stored Credentials
MicroKernel Server Engine\Version $from\Settings\Prompt For Client Credentials=MicroKernel Server Engine\Version $to\Settings\Prompt For Client Credentials
MicroKernel Server Engine\Version $from\Settings\SmbConf=MicroKernel Server Engine\Version $to\Settings\SmbConf
MicroKernel Server Engine\Version $from\Settings\Remote Sessions Enabled=MicroKernel Server Engine\Version $to\Settings\Remote Sessions Enabled
MicroKernel Server Engine\Version $from\Settings\UnixAuthenticate=MicroKernel Server Engine\Version $to\Settings\UnixAuthenticate

; Settings for Server Engines - Communication protocols
;MicroKernel Server Engine\Version $from\Settings\AutoReconnect Timeout=MicroKernel Server Engine\Version $to\Settings\AutoReconnect Timeout
;MicroKernel Server Engine\Version $from\Settings\Enable AutoReconnect=MicroKernel Server Engine\Version $to\Settings\Enable AutoReconnect
MicroKernel Server Engine\Version $from\Settings\Listen IP Address=MicroKernel Server Engine\Version $to\Settings\Listen IP Address
MicroKernel Server Engine\Version $from\Settings\MgrPort=MicroKernel Server Engine\Version $to\Settings\MgrPort
MicroKernel Server Engine\Version $from\Settings\TCPIP Multi-Homed=MicroKernel Server Engine\Version $to\Settings\TCPIP Multi-Homed

; Settings for Server Engines - Compatibility
MicroKernel Server Engine\Version $from\Settings\File Version=MicroKernel Server Engine\Version $to\Settings\File Version
MicroKernel Server Engine\Version $from\Settings\System Data=MicroKernel Server Engine\Version $to\Settings\System Data

; Settings for Server Engines - Data integrity
MicroKernel Server Engine\Version $from\Settings\Logging=MicroKernel Server Engine\Version $to\Settings\Logging
MicroKernel Server Engine\Version $from\Settings\Transaction Durability=MicroKernel Server Engine\Version $to\Settings\Transaction Durability
MicroKernel Server Engine\Version $from\Settings\Transaction Logging=MicroKernel Server Engine\Version $to\Settings\Transaction Logging
MicroKernel Server Engine\Version $from\Settings\Wait-lock Timeout=MicroKernel Server Engine\Version $to\Settings\Wait-lock Timeout

; Settings for Server Engines - Memory usage
MicroKernel Server Engine\Version $from\Settings\Merge Sort Buffer Size=MicroKernel Server Engine\Version $to\Settings\Merge Sort Buffer Size
MicroKernel Server Engine\Version $from\Settings\Minimal States=MicroKernel Server Engine\Version $to\Settings\Minimal States
MicroKernel Server Engine\Version $from\Settings\Minimal States Delay=MicroKernel Server Engine\Version $to\Settings\Minimal States Delay
MicroKernel Server Engine\Version $from\Settings\Preallocate=MicroKernel Server Engine\Version $to\Settings\Preallocate
MicroKernel Server Engine\Version $from\Settings\System Cache=MicroKernel Server Engine\Version $to\Settings\System Cache

; Settings for Server Engines - Performance tuning
MicroKernel Server Engine\Version $from\Settings\Background Threads=MicroKernel Server Engine\Version $to\Settings\Background Threads
MicroKernel Server Engine\Version $from\Settings\Cache Size=MicroKernel Server Engine\Version $to\Settings\Cache Size
MicroKernel Server Engine\Version $from\Settings\File Growth Factor=MicroKernel Server Engine\Version $to\Settings\File Growth Factor
MicroKernel Server Engine\Version $from\Settings\Limit Segment Size to 2Gb=MicroKernel Server Engine\Version $to\Settings\Limit Segment Size to 2Gb
MicroKernel Server Engine\Version $from\Settings\Max MicroKernel Memory Usage=MicroKernel Server Engine\Version $to\Settings\Max MicroKernel Memory Usage
MicroKernel Server Engine\Version $from\Settings\Transaction Log Buffer Size=MicroKernel Server Engine\Version $to\Settings\Transaction Log Buffer Size
MicroKernel Server Engine\Version $from\Settings\Transaction Log Directory=MicroKernel Server Engine\Version $to\Settings\Transaction Log Directory
MicroKernel Server Engine\Version $from\Settings\Transaction Log File Size=MicroKernel Server Engine\Version $to\Settings\Transaction Log File Size

; Settings for Server Engines - miscellaneous
MicroKernel Server Engine\Version $from\Settings\Max Pending IO=MicroKernel Server Engine\Version $to\Settings\Max Pending IO
MicroKernel Server Engine\Version $from\Settings\Reject Count=MicroKernel Server Engine\Version $to\Settings\Reject Count
MicroKernel Server Engine\Version $from\Settings\Special Options=MicroKernel Server Engine\Version $to\Settings\Special Options
MicroKernel Server Engine\Version $from\Settings\Systrans Bundle Limit=MicroKernel Server Engine\Version $to\Settings\Systrans Bundle Limit
MicroKernel Server Engine\Version $from\Settings\Systrans Time Limit=MicroKernel Server Engine\Version $to\Settings\Systrans Time Limit

; SQL Engine setting
MKC\DisableStepNextExtFilter=MKC\DisableStepNextExtFilter

; Settings for Local Client - Microkernel Router - Access
; Settings for Engines - Access
Security\Wire Encryption=Security\Wire Encryption
Security\Wire Encryption Level=Security\Wire Encryption Level

; SQL Engine setting
SQL Relational Engine\Allow insert on Variant=SQL Relational Engine\Allow insert on Variant
SQL Relational Engine\CachedProcedures=SQL Relational Engine\CachedProcedures
SQL Relational Engine\CacheUdfs=SQL Relational Engine\CacheUdfs
SQL Relational Engine\CurrentDateBasedDSTConversion=SQL Relational Engine\CurrentDateBasedDSTConversion
SQL Relational Engine\MaxCachedTables=SQL Relational Engine\MaxCachedTables
SQL Relational Engine\OptimizeInnerJoin=SQL Relational Engine\OptimizeInnerJoin
SQL Relational Engine\ProceduresCache=SQL Relational Engine\ProceduresCache
SQL Relational Engine\UseBtrieveExcludeNullKey=SQL Relational Engine\UseBtrieveExcludeNullKey
