-
Notifications
You must be signed in to change notification settings - Fork 41
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
Change PostGis Table name #890
Comments
I mean i can change the postgis table name, however when i then try to pull/push changes from one repository to other it shows error. Writing the table name back to original sintax, it will work fine again. |
Can you share the error you are seeing? |
Hi here it is: 127: Impossível localizar o procedimento especificado.
|
From what i can see it says "numeros_policia_landbase.numeracao_policia" does not exist". |
Ok, I found a bug or a regression - Kart should allow you to rename or delete a table without crashing. It should just detect that table as deleted, and you can commit that change if you want. This works with eg a GPKG working copy, but not with postgres - this is the bug / regression. Kart does not detect table renames in the working copy - that is, it doesn't find try to detect that a new table with name X is the same as the old table with name Y, by comparing the contents of tables. This is less a bug, more a missing feature. For this reason, renaming any of the tables that Kart has already written the working copy won't work well in Kart: Kart will think you've deleted old table and added a new one, and the history of the old table won't be connected to the new table. This is probably not what you want. Kart always checks out a table using the name of the Kart dataset - if Kart has stored a dataset Firstly, you can configure the working copy schema. Every time you create a Kart repo, you can choose where to put the working copy. If you choose to put the working copy in a PG database, you can select a PG schema. You can choose any schema you like, but kart suggests one called Secondly, you can, if you so choose, rename the dataset as you import it. Eg |
Hello
I have a project running on kart.
The data is in postgis, now i need to change the postgis table name. I have looked into kart and it shows me the path to the working copy location but i cannot edit it. Any help? Thanks
The text was updated successfully, but these errors were encountered: