diff options
Diffstat (limited to 'main/pllua/9.3-notice-create-index.patch')
-rw-r--r-- | main/pllua/9.3-notice-create-index.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/pllua/9.3-notice-create-index.patch b/main/pllua/9.3-notice-create-index.patch new file mode 100644 index 000000000..d30b62437 --- /dev/null +++ b/main/pllua/9.3-notice-create-index.patch @@ -0,0 +1,22 @@ +--- a/expected/plluatest.out ++++ b/expected/plluatest.out +@@ -232,8 +232,8 @@ + 1 | name | data + (1 row) + ++SET client_min_messages = warning; + CREATE TABLE tree (id INT PRIMARY KEY, lchild INT, rchild INT); +-NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "tree_pkey" for table "tree" + CREATE FUNCTION filltree (t text, n int) RETURNS void AS $$ + local p = server.prepare("insert into " .. t .. " values($1, $2, $3)", + {"int4", "int4", "int4"}) +--- a/sql/plluatest.sql ++++ b/sql/plluatest.sql +@@ -160,6 +160,7 @@ + SELECT * FROM get_rows('name'); + + ++SET client_min_messages = warning; + CREATE TABLE tree (id INT PRIMARY KEY, lchild INT, rchild INT); + + CREATE FUNCTION filltree (t text, n int) RETURNS void AS $$ |