Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d25379eb
Commit
d25379eb
authored
Apr 06, 2016
by
Simon Riggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify test_decoding/messages to remove non-ascii chars
parent
ead9963c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
contrib/test_decoding/expected/messages.out
contrib/test_decoding/expected/messages.out
+7
-7
contrib/test_decoding/sql/messages.sql
contrib/test_decoding/sql/messages.sql
+1
-1
No files found.
contrib/test_decoding/expected/messages.out
View file @
d25379eb
...
...
@@ -53,22 +53,22 @@ SELECT 'msg7' FROM pg_logical_emit_message(true, 'test', 'msg7');
(1 row)
COMMIT;
SELECT '
žluťoučký kůň' FROM pg_logical_emit_message(true, 'test', 'žluťoučký kůň
');
?column?
------------
---
žluťoučký kůň
SELECT '
ignorethis' FROM pg_logical_emit_message(true, 'test', 'czechtastic
');
?column?
------------
ignorethis
(1 row)
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '0', 'skip-empty-xacts', '1');
data
--------------------------------------------------------------------
--
data
--------------------------------------------------------------------
message: transactional: 1 prefix: test, sz: 4 content:msg1
message: transactional: 0 prefix: test, sz: 4 content:msg2
message: transactional: 0 prefix: test, sz: 4 content:msg4
message: transactional: 0 prefix: test, sz: 4 content:msg6
message: transactional: 1 prefix: test, sz: 4 content:msg5
message: transactional: 1 prefix: test, sz: 4 content:msg7
message: transactional: 1 prefix: test, sz: 1
9 content:žluťoučký kůň
message: transactional: 1 prefix: test, sz: 1
1 content:czechtastic
(7 rows)
SELECT 'init' FROM pg_drop_replication_slot('regression_slot');
...
...
contrib/test_decoding/sql/messages.sql
View file @
d25379eb
...
...
@@ -18,7 +18,7 @@ SELECT 'msg6' FROM pg_logical_emit_message(false, 'test', 'msg6');
SELECT
'msg7'
FROM
pg_logical_emit_message
(
true
,
'test'
,
'msg7'
);
COMMIT
;
SELECT
'
žluťoučký kůň'
FROM
pg_logical_emit_message
(
true
,
'test'
,
'žluťoučký kůň
'
);
SELECT
'
ignorethis'
FROM
pg_logical_emit_message
(
true
,
'test'
,
'czechtastic
'
);
SELECT
data
FROM
pg_logical_slot_get_changes
(
'regression_slot'
,
NULL
,
NULL
,
'force-binary'
,
'0'
,
'skip-empty-xacts'
,
'1'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment