CDB_Federated_Table_Register: Handle conflict nicely

This commit is contained in:
Raul Marin
2019-11-05 16:53:25 +01:00
parent e2beefdb53
commit c9b01592e7
3 changed files with 35 additions and 6 deletions

View File

@@ -53,4 +53,12 @@ ERROR: non geometry column "Does not exists"
## Registering a table: NULL webmercator_column is OK
## Target conflict is handled nicely: Table
CREATE TABLE
ERROR: Could not import table "remote_geom" as "localtable": "localtable" already exists
## Target conflict is handled nicely: View
CREATE VIEW
ERROR: Could not import table "remote_geom" as "localtable2": "localtable2" already exists
DROP VIEW
DROP TABLE
D1|