Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93b0d0e

Browse filesBrowse files
authored
Migrate AppVeyor & TC builds to PostgreSQL 13 (#3558)
1 parent cb8b285 commit 93b0d0e
Copy full SHA for 93b0d0e

File tree

Expand file treeCollapse file tree

3 files changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+8
-8
lines changed

‎appveyor.yml

Copy file name to clipboardExpand all lines: appveyor.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ before_test:
4747
'Odbc' { Start-Service 'MSSQL$SQL2017' }
4848
'PostgreSQL' {
4949
# 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'
5252
}
5353
'SqlServer2008' { Start-Service 'MSSQL$SQL2017' }
5454
'SqlServer2012' { Start-Service 'MSSQL$SQL2017' }
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Installation steps for PostgreSQL for NH TeamCity:
33

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;
55
2. Run the installer ... when prompted to make a password for the service account, make it 'password';
66
3. Leave the port number at the default (5432), and leave the default locale;
77
4. The setup should install PostgreSQL on the machine;
@@ -12,8 +12,8 @@ Installation steps for PostgreSQL for NH TeamCity:
1212

1313
Creating the NH user:
1414

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.
1919

‎teamcity.build

Copy file name to clipboardExpand all lines: teamcity.build
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</target>
125125

126126
<target name="setup-teamcity-postgresql">
127-
<property name="db-service" value="postgresql-x64-10" />
127+
<property name="db-service" value="postgresql-x64-13" />
128128
<property name="nhibernate.connection.driver_class" value="NHibernate.Driver.NpgsqlDriver" />
129129
<property name="nhibernate.dialect" value="NHibernate.Dialect.PostgreSQL83Dialect" />
130130
<property name="nhibernate.connection.connection_string" value="Host=localhost;Port=5432;Database=nhibernate;Username=nhibernate;Password=nhibernate;Enlist=true" />

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.