Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function min(pg_lsn) does not exist #65

Closed
RekGRpth opened this issue Jul 14, 2024 · 10 comments
Closed

function min(pg_lsn) does not exist #65

RekGRpth opened this issue Jul 14, 2024 · 10 comments
Assignees

Comments

@RekGRpth
Copy link

after commit 7d1b6ba
versions 12 has error

WARNING:  "PoWA".powa_take_snapshot(0): function "PoWA".powa_replication_slots_aggregate failed:
 	              state  : 42883
 	              message: function min(pg_lsn) does not exist
 	              detail : 
 	              hint   : No function matches the given name and argument types. You might need to add explicit type casts.
 	              context: PL/pgSQL function "PoWA".powa_replication_slots_aggregate(integer) line 12 at SQL statement
 	SQL statement "SELECT "PoWA".powa_replication_slots_aggregate(0)"
 	PL/pgSQL function "PoWA".powa_take_snapshot(integer) line 128 at EXECUTE

versions 10 and 11 have error

WARNING:  "PoWA".powa_take_snapshot(0): function "PoWA".powa_stat_database_snapshot failed:
 	              state  : 42804
 	              message: structure of query does not match function result type
 	              detail : Returned type integer does not match expected type bigint in column 17.

versions 6.5 and 9.6 have error

 WARNING:  "PoWA".powa_take_snapshot(0): function "PoWA".powa_stat_archiver_snapshot failed:
 	              state  : 42883
 	              message: function pg_last_wal_receive_lsn() does not exist
 	              detail : 
 	              hint   : No function matches the given name and argument types. You might need to add explicit type casts.
 	              context: PL/pgSQL function "PoWA".powa_stat_archiver_src(integer) line 14 at assignment
@rjuju rjuju self-assigned this Jul 14, 2024
@rjuju
Copy link
Member

rjuju commented Jul 14, 2024

Hi,

Yes I saw that yesterday when I merged the v5. I already fixed it this morning (#63) and also fixed pg11 compatibility (#64).

@rjuju
Copy link
Member

rjuju commented Jul 14, 2024

I still have work to do for earlier versions I think, and probably for pg 17 too. I will take care of it this weekend or next weekend.

@RekGRpth
Copy link
Author

thank you, versions 10 - 12 are fixed, but 9.5 and 9.6 still have errors

@rjuju
Copy link
Member

rjuju commented Jul 14, 2024

yes, and 9.4 has a different error too. as I said I'm working on it and it will all be fixed before the beta

@rjuju
Copy link
Member

rjuju commented Jul 14, 2024

out of curiosity do you still have 9.6 and older version in production?

@RekGRpth
Copy link
Author

out of curiosity do you still have 9.6 and older version in production?

no, with powa only 14+

@rjuju
Copy link
Member

rjuju commented Jul 14, 2024

ok!
a fix for EOLed version probably isn't top emergency then.

@RekGRpth
Copy link
Author

RekGRpth commented Jul 22, 2024

now it works, thanx

@rjuju
Copy link
Member

rjuju commented Jul 22, 2024

sorry, I didn't update this issue as pg 9.4 is still broken. I think I will just remove support for this major version though, there are just too many problems (doesn't know about the standard => named parameter, no ASSERT support in plpgsql and no function to get the list of created objects in an event trigger).

@RekGRpth
Copy link
Author

typo: I meant NOW it works on 9.5 and 9.6

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

No branches or pull requests

2 participants