Skip to content

Fix GH-13519: PGSQL_CONNECT_FORCE_RENEW with persistent connections. #13523

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

Closed
wants to merge 2 commits into from

Conversation

devnexen
Copy link
Member

persistent connections did not take in account this flag, after the usual link sanity checks, we remove its entry.

@devnexen devnexen changed the base branch from master to PHP-8.2 February 26, 2024 19:47
persistent connections did not take in account this flag, after the
usual link sanity checks, we remove its entry.
@SakiTakamachi
Copy link
Member

May I ask why you check links?

@devnexen
Copy link
Member Author

May I ask why you check links?

Do you mean in general ?

@SakiTakamachi
Copy link
Member

after the usual link sanity checks, we remove its entry.

I thought it would be possible to remove it before checking, so I asked.

My understanding of EG is still limited, so I'm sorry if this is a strange question.

@devnexen
Copy link
Member Author

fair enough it s mostly the "RESET ALL" command which I give a chance to operate.

@SakiTakamachi
Copy link
Member

Thank you.

If we don't RESET ALL, will the parameters be carried over to new connections?

@devnexen
Copy link
Member Author

ah no it is pretty useless I just recall RESET ALL is for the current connection, will change.

@SakiTakamachi
Copy link
Member

I've got it. I'm of the same understanding.

Therefore, it seems possible to remove it at an earlier stage.

Copy link
Member

@SakiTakamachi SakiTakamachi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devnexen devnexen closed this Feb 27, 2024
@SakiTakamachi
Copy link
Member

@devnexen

The skipif path on master has changed, so you may need to modify that.

@SakiTakamachi
Copy link
Member

config too. It should be in the inc directory

@devnexen
Copy link
Member Author

oh I forgot thx

@SakiTakamachi
Copy link
Member

There is a segment fault in master.
Maybe zend_hash_del() is the cause?

@devnexen
Copy link
Member Author

I can see however it does not happen on lower branches and on master it happens on non ZTS builds. Not sure which change matters on this topic on master.

@SakiTakamachi
Copy link
Member

@nielsdos

Does this seem related to #13381?

@nielsdos
Copy link
Member

@nielsdos

Does this seem related to #13381?

I don't believe so. I'll take a look now in detail.

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

Successfully merging this pull request may close these issues.

3 participants