Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marty Fabien
vMap
Commits
064924ec
Commit
064924ec
authored
6 years ago
by
Sébastien Legrand
Browse files
Options
Downloads
Patches
Plain Diff
Mise à jour du fichier de version pour fonctionnait avec la version 11.0 de PostgreSQL
parent
ee4da38b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vas/rest/ws/vitis/Versions.class.inc
+201
-203
201 additions, 203 deletions
vas/rest/ws/vitis/Versions.class.inc
with
201 additions
and
203 deletions
vas/rest/ws/vitis/Versions.class.inc
+
201
−
203
View file @
064924ec
...
@@ -141,11 +141,9 @@ class Versions extends Vitis {
...
@@ -141,11 +141,9 @@ class Versions extends Vitis {
$aVersion
=
explode
(
"."
,
$sPostgresql
);
$aVersion
=
explode
(
"."
,
$sPostgresql
);
$bExtension
=
false
;
$bExtension
=
false
;
if
(
$aVersion
[
0
]
>=
9
)
{
if
(
$aVersion
[
0
]
.
$aVersion
[
1
]
>=
91
)
{
if
(
$aVersion
[
1
]
>=
1
)
{
$bExtension
=
true
;
$bExtension
=
true
;
}
}
}
if
(
$bExtension
==
true
)
{
if
(
$bExtension
==
true
)
{
$sSql
=
"SELECT default_version FROM pg_catalog.pg_available_extensions where name = 'postgis';"
;
$sSql
=
"SELECT default_version FROM pg_catalog.pg_available_extensions where name = 'postgis';"
;
$oPDOresult
=
$this
->
oConnection
->
oBd
->
executeWithParams
(
$sSql
,
array
());
$oPDOresult
=
$this
->
oConnection
->
oBd
->
executeWithParams
(
$sSql
,
array
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment