-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SUGGESTION - api "signal handler" to reset cache - SIGUSR1 #1622
Comments
I'm not sure I undestand what you mean - but are you maybe looking for #1542 ? (not released yet) |
I think @mpasquini might be referring to calling SIGUSR1 through an endpoint, like It kind of reminds to #1526 in this regard. |
Ah, ok. That could be done with something like the following already? CREATE FUNCTION sigusr1() RETURNS void
LANGUAGE plpgsql AS $$
BEGIN
NOTIFY pgrst;
END
$$; And then call it via Of course |
Can this be closed? |
Maybe we should default |
Yes, I agree. In general, we should have a default config that works well for "basic" cases and does not need beginners to set up that much. I'd rather have to tell advanced users that they need to adjust their settings to support connection poolers, than beginners missing out on things like prepared statements for good performance. The same goes for |
It is possible to have an api call to the signal handler ?
From GNU:
The text was updated successfully, but these errors were encountered: