Double-click the installation program to install PostgreSQL and create a geographic database. 2. for PostgreSQL installation location, you can select your PostgreSQL installation path. The default installation path is C: ProgramFilesPostgreSQL9.23. in this step, you can select the path where your PostgreSQL data is stored. Default storage path
Double-click the installation program to install PostgreSQL and create a geographic database. 2. for PostgreSQL installation location, you can select your PostgreSQL installation path. The default installation path is C: \ Program Files \ PostgreSQL \ 9.2 3. On the database directory settings page, select the path where your PostgreSQL data is stored. Default storage path
Install PostgreSQL and create a geographical database
Double-click the installer to install it.
2. PostgreSQL installation location
You can select your PostgreSQL installation path. The default installation path is C: \ Program Files \ PostgreSQL \ 9.2.
3. Database directory settings page
In this step, you can select the path where your PostgreSQL data is stored. The default storage path is C: \ Program Files \ PostgreSQL \ 9.2 \ data.
4. Click Next to enter the password filling page.
5. Click Next. The installation wizard requires you to enter the port number of the Service listener.
Like UNIX, the default port is 5432. You can also set any port you want to use.
7. Set the region of the new database
Select an appropriate region and click Next. The Wizard icon will start to install the database. Click Next. If no error occurs, the installation process is complete.
8. Install PostgreSQL programs and tools to the Start Menu
Ii. Create a geographical database
1: Install ArcSDE 9.3.1for PostgreSQL (Omitted ):
2: copy the st_geometry.dll, pg. dll, and sg. dll Files in the % SDEHOME %/bin directory to the Program Files \ PostgreSQL \ 9.2 \ lib folder.
3: Create a folder for storing the tablespace in the database
Select a suitable directory to create an empty folder for storing the space database deployed by ArcSDE. The directory selected in this article is: D: \ ArcSDEPostgre \ data. (Remember permission settings)
4: configure the PostgreSQL library with post
After the configuration is complete
Use arccatalog to connect to the created database
So far, the database configuration is complete.