-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix diff between two postgresql databases (fix #185)
- Loading branch information
Showing
8 changed files
with
97 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
DROP SCHEMA IF EXISTS gd_pg_diff CASCADE; | ||
CREATE SCHEMA gd_pg_diff; | ||
|
||
CREATE TABLE gd_pg_diff.simple ( | ||
"fid" SERIAL PRIMARY KEY, | ||
"geometry" GEOMETRY(POINT, 4326), | ||
"name" text | ||
); | ||
|
||
INSERT INTO gd_pg_diff.simple ( | ||
"fid", | ||
"geometry", | ||
"name" | ||
) | ||
VALUES ( | ||
1, | ||
ST_GeomFromText('Point (0 1)', 4326), | ||
'feature 1' | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
DROP SCHEMA IF EXISTS gd_pg_diff CASCADE; | ||
CREATE SCHEMA gd_pg_diff; | ||
|
||
CREATE TABLE gd_pg_diff.simple ( | ||
"fid" SERIAL PRIMARY KEY, | ||
"geometry" GEOMETRY(POINT, 4326), | ||
"name" text | ||
); | ||
|
||
INSERT INTO gd_pg_diff.simple ( | ||
"fid", | ||
"geometry", | ||
"name" | ||
) | ||
VALUES ( | ||
1, | ||
ST_GeomFromText('Point (0 1)', 4326), | ||
'feature 1' | ||
); | ||
|
||
INSERT INTO gd_pg_diff.simple ( | ||
"fid", | ||
"geometry", | ||
"name" | ||
) | ||
VALUES ( | ||
2, | ||
ST_GeomFromText('Point (1 2)', 4326), | ||
'feature 2' | ||
); |