-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from DemonVex/next_release
Added tests for /**/ comments
- Loading branch information
Showing
8 changed files
with
23 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ [email protected]. | |
* MATERIALIZED VIEW support in PostgreSQL 9.3 (Marti Raudsepp) | ||
* Better support for inherited tables (Daniel Watson) | ||
* Added support for CREATE UNLOGGED TABLE (Anatoliy Basov) | ||
|
||
* Added support for /**/ comments (yulei) | ||
|
||
#### Fixes | ||
* Added hint to use "CREATE TABLE ... CONSTRAINT name PRIMARY KEY/UNIQUE ..." | ||
|
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
2 changes: 2 additions & 0 deletions
2
src/test/resources/cz/startnet/utils/pgdiff/add_column_issue134_diff.sql
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,2 @@ | ||
ALTER TABLE test1 | ||
ADD COLUMN type SMALLINT; |
5 changes: 5 additions & 0 deletions
5
src/test/resources/cz/startnet/utils/pgdiff/add_column_issue134_new.sql
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,5 @@ | ||
CREATE table "test1" ( | ||
"id" BIGINT, | ||
"type" SMALLINT /* 1: aaa, 2:bbb */, | ||
"value" VARCHAR(255) | ||
); |
4 changes: 4 additions & 0 deletions
4
src/test/resources/cz/startnet/utils/pgdiff/add_column_issue134_original.sql
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,4 @@ | ||
CREATE table "test1" ( | ||
"id" BIGINT, | ||
"value" VARCHAR(255) | ||
); |
3 changes: 3 additions & 0 deletions
3
src/test/resources/cz/startnet/utils/pgdiff/add_table_issue115_diff.sql
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,3 @@ | ||
CREATE TABLE test2 ( | ||
id serial NOT NULL | ||
); |
4 changes: 4 additions & 0 deletions
4
src/test/resources/cz/startnet/utils/pgdiff/add_table_issue115_new.sql
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,4 @@ | ||
/* create table begin */ | ||
create table "test2"( | ||
"id" serial NOT NULL | ||
); |
Empty file.