Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Should PostgreSQL servers be stopped when user logs out?

オープン
#834 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
macos, postgresql
領域
databases, desktop

調査の方向性

Begin by reviewing the menu helper app's behavior during macOS logout and the cases where that helper is disabled. The issue does not name files or tests; a complete contribution first needs a decision on whether servers should stop, including cross-user access and permission-dialog behavior, followed by implementation and tests for the chosen policy.

索引モデルが issue の本文から書いたものです。

説明

Currently PostgreSQL servers continue running after the user logs out. This was not an intentional decision, it's something that we haven't really thought about.

Since Postgres.app requires a logged in user to start, this fact is somewhat counter-intuitive.

This fact can cause issues when:

  • user logs out, logs in as a different user, then can't start a PostgreSQL server because one is already running
  • user logs out, then logs in again, either as same or different user. Permission dialogs can't be shown because original GUI session is no longer available

At the same time, people may rely on this fact. Maybe some people switch users but still want to connect to the PostgreSQL server owned by another user.

If we decide that PostgreSQL servers should shut down when the user logs out, I'm not sure how this should be implemented. The most straightforward way would be to have the menu helper app shut down servers when macOS quits it during logout. But there is no guarantee that the menu helper is running -- people may have turned the menu helper off. I am not sure what to do in that case.

主要言語
Makefile
スター
7.8k
フォーク
404
平均マージ
6時間 55分
マージ済み PR(30日)
6

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PostgresApp/PostgresApp のほかの issue

PostgresApp/PostgresApp の issue をすべて見る

似ている issue

Databases の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。