Skip to content

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

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

Explicitly type-cast pg_lsn to text (postgresql plugin)#456
chr4 wants to merge 1 commit intoMeetMe:masterfrom
chr4:typecast-pg_lsn

Conversation

@chr4
Copy link
Contributor

@chr4 chr4 commented Oct 21, 2015

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

Problem and solution confirmed. +1 @gmr Please merge

@fredead
Copy link

fredead commented Feb 22, 2017

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