Installing Language Pack on Windows v4
On Windows, EDB provides a graphical interactive installer for Language Pack. Use Stack Builder (with PostgreSQL) or StackBuilder Plus (with EDB Postgres Advanced Server) to download the EDB installer package and then invoke the graphical installer for Language Pack. See Using Stack Builder or StackBuilder Plus.
Using Stack Builder or StackBuilder Plus
If you're using PostgreSQL, you can invoke the graphical installer for Language Pack with Stack Builder. See Using Stack Builder.
If you're using EDB Postgres Advanced Server, you can invoke the graphical installer for Language Pack with StackBuilder Plus. See Using StackBuilder Plus.
In Stack Builder or StackBuilder Plus, follow the prompts until you get to the module selection page.
On the Welcome page, select the target server installation from the list of available servers. If your network requires you to use a proxy server to access the internet, select Proxy servers and specify a server. Select Next.
Expand the Add-ons, tools, and utilities node.
Select EDB Language Pack and select Next.
Browse to a directory where you want to install the language pack, or leave the directory set to the default location. Select Next.
When the installer states that all installation files have been downloaded, select Next.
Proceed to Using the graphical installer.
Using the graphical installer
Select the installation language and select OK.
On the Setup Language Pack page, select Next.
The Ready to Install window displays the Language Pack installation directory.
C:/edb/languagepack/<version>
You cannot modify the installation directory.
Select Next.
An information box shows the installation progress of the selected components.
When the installation is complete, select Finish.
Configuring Language Pack with EDB Postgres Advanced Server on Windows
When using EPAS on Windows, the Language Pack installer places the languages in:
C:\edb\as\languagepack\<version>
Note
Check that the version of Language Pack you are running matches the version in the file path and in the following commands.
After installing Language Pack, you must set the following variables:
set PYTHONHOME=C:\edb\as\languagepack\<version>\Python-3.7
where <version>
is the current version of Language Pack.
Follow these steps to add Python, Perl, and Tcl to your Language Pack:
Go to This PC > Properties > Advanced System Settings > Environment Variables.
Edit the system-wide PATH variable.
To add Python, enter the following:
To add Perl and Tcl, enter the following:
Close the dialog box.
Use the Windows
Services
applet to restart the EDB Postgres Advanced Server.
Configuring Language Pack with PostgreSQL on Windows
After installing Language Pack, you must set the following variables:
set PYTHONHOME=C:\edb\languagepack\v2\Python-3.7
Follow these steps to add Python, Perl, and Tcl to your Language Pack:
Go to This PC > Properties > Advanced System Settings > Environment Variables.
Edit the system-wide PATH variable.
To add Python, enter the following:
To add Perl and Tcl, enter the following:
Close the dialog box.
Restart the database server.