Skip to content

Explicitly type-cast pg_lsn to text (postgresql plugin) - #456

Open
chr4 wants to merge 1 commit into
MeetMe:masterfrom
chr4:typecast-pg_lsn
Open

chr4 wants to merge 1 commit into
MeetMe:masterfrom
chr4:typecast-pg_lsn

Conversation

@chr4

@chr4 chr4 commented Oct 21, 2015

Copy link
Copy Markdown
Contributor

This fixes the following error on postgresql-9.4:

ERROR:  function split_part(pg_lsn, unknown, integer) does not exist
LINE 3:         ('x' || lpad(split_part(sent_location,   '/', 1), 8,...
                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type
casts.

The patch introducing this error: #285

This fixes the following error on postgresql-9.4:

```
ERROR:  function split_part(pg_lsn, unknown, integer) does not exist
LINE 3:         ('x' || lpad(split_part(sent_location,   '/', 1), 8,...
                             ^
HINT:  No function matches the given name and argument types. You might need to add explicit type
casts.
```
@frankier

Copy link
Copy Markdown

Problem and solution confirmed. +1 @gmr Please merge

@fredead

fredead commented Feb 22, 2017

Copy link
Copy Markdown

Can confirm this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants