-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yuniql postgresql gis extenstion #295
Comments
I have no problem with migration scripts containing PostGIS geomtery type. It looks like postgres does not know about geometry type. Did you enable PosGIS extension inside that database (create extension postgis;)? |
Yes GIS extension is enabled
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: David Pavlíček ***@***.***>
Sent: Tuesday, March 28, 2023 10:17:57 PM
To: rdagumampan/yuniql ***@***.***>
Cc: dnyandeobharambe ***@***.***>; Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
I have no problem with migration scripts containing PostGIS geomtery type. It looks like postgres does not know about geometry type. Did you enable PosGIS extension inside that database (create extension postgis;)?
—
Reply to this email directly, view it on GitHub<#295 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJJWEPESM2I5SZL4URHTQG3W6PAYLANCNFSM6AAAAAAWBXAZUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can yuniql user acces postgis function and types? If you login into database as the same user, can you |
let me check
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: David Pavlíček ***@***.***>
Sent: Wednesday, March 29, 2023 1:25:59 PM
To: rdagumampan/yuniql ***@***.***>
Cc: dnyandeobharambe ***@***.***>; Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
Can yuniql user acces postgis function and types? If you login into database as the same user, can you select 'POINT(1 1)'::geometry?
—
Reply to this email directly, view it on GitHub<#295 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJJWEPEOKAFWMRDLFE7KVN3W6SLFPANCNFSM6AAAAAAWBXAZUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I check and saw some weird,instance I set in azure with gis,show all gis data type like polygon,point but not geometry,that could be issue as data type of table I am creating is geometry
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: dny bha ***@***.***>
Sent: Wednesday, March 29, 2023 4:02:35 PM
To: rdagumampan/yuniql ***@***.***>; rdagumampan/yuniql ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
let me check
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: David Pavlíček ***@***.***>
Sent: Wednesday, March 29, 2023 1:25:59 PM
To: rdagumampan/yuniql ***@***.***>
Cc: dnyandeobharambe ***@***.***>; Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
Can yuniql user acces postgis function and types? If you login into database as the same user, can you select 'POINT(1 1)'::geometry?
—
Reply to this email directly, view it on GitHub<#295 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJJWEPEOKAFWMRDLFE7KVN3W6SLFPANCNFSM6AAAAAAWBXAZUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thanks It was issue with extensions, I reenable it and it works well
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: dny bha ***@***.***>
Sent: Wednesday, March 29, 2023 8:22:30 PM
To: rdagumampan/yuniql ***@***.***>; rdagumampan/yuniql ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
I check and saw some weird,instance I set in azure with gis,show all gis data type like polygon,point but not geometry,that could be issue as data type of table I am creating is geometry
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: dny bha ***@***.***>
Sent: Wednesday, March 29, 2023 4:02:35 PM
To: rdagumampan/yuniql ***@***.***>; rdagumampan/yuniql ***@***.***>
Cc: Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
let me check
Sent from my T-Mobile 5G Device
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: David Pavlíček ***@***.***>
Sent: Wednesday, March 29, 2023 1:25:59 PM
To: rdagumampan/yuniql ***@***.***>
Cc: dnyandeobharambe ***@***.***>; Author ***@***.***>
Subject: Re: [rdagumampan/yuniql] yuniql postgresql gis extenstion (Issue #295)
Can yuniql user acces postgis function and types? If you login into database as the same user, can you select 'POINT(1 1)'::geometry?
—
Reply to this email directly, view it on GitHub<#295 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJJWEPEOKAFWMRDLFE7KVN3W6SLFPANCNFSM6AAAAAAWBXAZUI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to deploy postgresql script where it have geospatial data . So it use corresponding data types. But it seems Yuniql does not support it and fail with following error
--- End of inner exception stack trace ---
at Yuniql.Core.MigrationService.RunVersionSqlScripts(IDbConnection connection, IDbTransaction transaction, TransactionContext transactionContext, Stopwatch stopwatch, String version, String workspace, String scriptDirectory, String metaSchemaName, String metaTableName, List
1 tokens, Nullable
1 commandTimeout, String environment, String appliedByTool, String appliedByToolVersion)at Yuniql.Core.MigrationService.<>c__DisplayClass12_0.g__RunVersionDirectoriesInternal|8(IDbConnection connection, IDbTransaction transaction, List
1 scriptSubDirectories, String scriptDirectory, String versionDirectory, Stopwatch stopwatch) at Yuniql.Core.MigrationService.<>c__DisplayClass12_0.<RunVersionDirectories>b__7(<>f__AnonymousType0
2 version)at System.Collections.Generic.List
1.ForEach(Action
1 )at Yuniql.Core.MigrationService.RunVersionDirectories(IDbConnection connection, IDbTransaction transaction, List
1 appliedVersions, String workspace, String targetVersion, TransactionContext transactionContext, List
1 tokens, String bulkSeparator, String metaSchemaName, String metaTableName, Nullable1 commandTimeout, Nullable
1 bulkBatchSize, String appliedByTool, String appliedByToolVersion, String environment, String transactionMode)at Yuniql.Core.MigrationService.g__RunAllInternal|11_3(IDbConnection connection, IDbTransaction transaction, Boolean isRequiredClearedDraft, <>c__DisplayClass11_0& )
at Yuniql.Core.MigrationService.Run(String workspace, String targetVersion, Nullable
1 isAutoCreateDatabase, List
1 tokens, Nullable1 isVerifyOnly, String bulkSeparator, String metaSchemaName, String metaTableName, Nullable
1 commandTimeout, Nullable1 bulkBatchSize, String appliedByTool, String appliedByToolVersion, String environment, Nullable
1 isContinueAfterFailure, String transactionMode, Boolean isRequiredClearedDraft)at Yuniql.Core.MigrationService.Run()
at Yuniql.CLI.CommandLineService.RunRunOption(RunOption opts)
If you think this is a bug, please report an issue here https://github.com/rdagumampan/yuniql/issues.
yuniql/error: The process 'C:\hostedtoolcache\windows\yuniql\0.0.0\x64\yuniql.exe' failed with exit code 1
##[error]The process 'C:\hostedtoolcache\windows\yuniql\0.0.0\x64\yuniql.exe' failed with exit code 1
Finishing: RunYuniqlCLI
The text was updated successfully, but these errors were encountered: