File tree 3 files changed +8
-8
lines changed 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ before_test:
47
47
'Odbc' { Start-Service 'MSSQL$SQL2017' }
48
48
'PostgreSQL' {
49
49
# Enable prepared transactions
50
- Add-Content -Path 'C:\Program Files\PostgreSQL\10 \data\postgresql.conf' -Value "`r`nmax_prepared_transactions = 100"
51
- Start-Service 'postgresql-x64-10 '
50
+ Add-Content -Path 'C:\Program Files\PostgreSQL\13 \data\postgresql.conf' -Value "`r`nmax_prepared_transactions = 100"
51
+ Start-Service 'postgresql-x64-13 '
52
52
}
53
53
'SqlServer2008' { Start-Service 'MSSQL$SQL2017' }
54
54
'SqlServer2012' { Start-Service 'MSSQL$SQL2017' }
Original file line number Diff line number Diff line change 1
1
2
2
Installation steps for PostgreSQL for NH TeamCity:
3
3
4
- 1. Download PostgreSQL (postgresql-9.0.3-1-windows_x64.exe): http ://www.enterprisedb.com/products-services-training/pgdownload#windows ;
4
+ 1. Download PostgreSQL: https ://www.enterprisedb.com/downloads/postgres-postgresql-downloads ;
5
5
2. Run the installer ... when prompted to make a password for the service account, make it 'password';
6
6
3. Leave the port number at the default (5432), and leave the default locale;
7
7
4. The setup should install PostgreSQL on the machine;
@@ -12,8 +12,8 @@ Installation steps for PostgreSQL for NH TeamCity:
12
12
13
13
Creating the NH user:
14
14
15
- a. Open pgAdmin III (start -> programs -> PostgreSQL 9.0 -> pgAdmin III) ;
16
- b. right -click the PostgreSQL 9.0 database, select connect, and enter the password from step 2 above;
17
- c. right -clilck the Login Roles, and select "New Login Role ...";
18
- d. create a login with "Role name=nhibernate", "Password=nhibernate", and select Superuser on the Role privileges tab.
15
+ a. Open pgAdmin 4 ;
16
+ b. Right -click the PostgreSQL database, select connect, and enter the password from step 2 above;
17
+ c. Right -clilck the Login Roles, and select "New Login Role ...";
18
+ d. Create a login with "Role name=nhibernate", "Password=nhibernate", and select Superuser on the Role privileges tab.
19
19
Original file line number Diff line number Diff line change 124
124
</target >
125
125
126
126
<target name =" setup-teamcity-postgresql" >
127
- <property name =" db-service" value =" postgresql-x64-10 " />
127
+ <property name =" db-service" value =" postgresql-x64-13 " />
128
128
<property name =" nhibernate.connection.driver_class" value=" NHibernate.Driver.NpgsqlDriver" />
129
129
<property name =" nhibernate.dialect" value=" NHibernate.Dialect.PostgreSQL83Dialect" />
130
130
<property name =" nhibernate.connection.connection_string" value=" Host=localhost;Port=5432;Database=nhibernate;Username=nhibernate;Password=nhibernate;Enlist=true" />
You can’t perform that action at this time.
0 commit comments