This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Fix build against 9.6#56
Open
df7cb wants to merge 1 commit intopgq:masterfrom
Open
Conversation
parser/keywords.h is now common/keywords.h
The regression expected output files need a new variant because plpgsql
ERRORs will now show an extra CONTEXT line. The net diff for the two
added _1.out files is:
```
--- sql/pgq_node/expected/pgq_node_test.out 2013-02-08 10:44:34.000000000 +0100
+++ sql/pgq_node/expected/pgq_node_test_1.out 2016-09-28 12:36:52.311636581 +0200
@@ -269,6 +269,7 @@
select * from pgq_node.is_root_node('cqueue');
ERROR: queue does not exist: cqueue
+CONTEXT: PL/pgSQL function pgq_node.is_root_node(text) line 19 at RAISE
select * from pgq_node.get_consumer_state('bqueue', 'random_consumer');
ret_code | ret_note | node_type | node_name | completed_tick | provider_node | provider_location | paused | uptodate | cur_error
----------+----------+-----------+-----------+----------------+---------------+-------------------+--------+----------+-----------
--- sql/pgq_coop/expected/pgq_coop_test.out 2013-02-08 10:44:34.000000000 +0100
+++ sql/pgq_coop/expected/pgq_coop_test_1.out 2016-09-28 12:36:52.311636581 +0200
@@ -137,6 +137,7 @@
select pgq_coop.unregister_subconsumer('testqueue', 'maincons', 'subcons2', 0);
ERROR: subconsumer has active batch
+CONTEXT: PL/pgSQL function pgq_coop.unregister_subconsumer(text,text,text,integer) line 42 at RAISE
select pgq_coop.unregister_subconsumer('testqueue', 'maincons', 'subcons2', 1);
unregister_subconsumer
------------------------
```
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
parser/keywords.h is now common/keywords.h
The regression expected output files need a new variant because plpgsql
ERRORs will now show an extra CONTEXT line. The net diff for the two
added _1.out files is: