File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 31
31
<property name =" dataSourceClassName" value =" org.postgresql.ds.PGSimpleDataSource" />
32
32
<property name =" maximumPoolSize" value =" 5" />
33
33
<property name =" idleTimeout" value =" 5000" />
34
- <property name =" connectionInitSql" value =" SET search_path to ztest_schema1, ztest_schema2, public" />
34
+ <property name =" connectionInitSql" value =" SET APPLICATION_NAME='dataSource1'; SET search_path to ztest_schema1, ztest_schema2, public" />
35
35
36
36
<property name =" dataSourceProperties" >
37
37
<props >
53
53
<property name =" dataSourceClassName" value =" org.postgresql.ds.PGSimpleDataSource" />
54
54
<property name =" maximumPoolSize" value =" 5" />
55
55
<property name =" idleTimeout" value =" 5000" />
56
- <property name =" connectionInitSql" value =" SET search_path to ztest_schema1, public" />
56
+ <property name =" connectionInitSql" value =" SET APPLICATION_NAME='dataSource2'; SET search_path to ztest_schema1, public" />
57
57
58
58
<property name =" dataSourceProperties" >
59
59
<props >
74
74
<property name =" dataSourceClassName" value =" org.postgresql.ds.PGSimpleDataSource" />
75
75
<property name =" maximumPoolSize" value =" 5" />
76
76
<property name =" idleTimeout" value =" 5000" />
77
- <property name =" connectionInitSql" value =" SET TIME ZONE 'PST8PDT'; SET search_path to ztest_schema1, public" />
77
+ <property name =" connectionInitSql" value =" SET APPLICATION_NAME='dataSource3'; SET TIME ZONE 'PST8PDT'; SET search_path to ztest_schema1, public" />
78
78
79
79
<property name =" dataSourceProperties" >
80
80
<props >
You can’t perform that action at this time.
0 commit comments