[Task Feature] 征求意见:是否需要 PostgreSQL 支持 / Solicitation of opinion: PostgreSQL support?

Open
#148 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
java, mysql, postgresql, sqlite
Domain
backend, databases

Research direction

This issue is collecting real production demand before deciding whether to add PostgreSQL support; it does not request an implementation yet. Read the existing DatabaseType dialect implementation and database configuration, then assess whether the reported PostgreSQL setup and scale justify a new driver and dialect. Done means maintainers have enough responses to make that decision.

Written by the indexing model from the issue text.

Description

config enhancement help wanted

收集一下 PostgreSQL 的需求,决定要不要支持第三种数据库。

当前 config.yml 里只有:

database:
  type: sqlite   # sqlite | mysql

想确认的是:

  1. 你所在的服务端/面板确实提供 PostgreSQL,还是只是「有 PG 机器想复用」?
  2. 用途是单一服务器的个人存档,还是多个子服共享同一套假人数据?
  3. 现有的 MySQL 方案有什么满足不了的地方(运维统一?公司规定?只是想避开 MySQL 的授权问题?)?

如果只是「顺便支持一下」,那大概率不会做——插件存的是密码、名字↔UUID 映射、皮肤、个人配置这几张小表,SQLite 足够;加 PG 意味着再维护一条我们无法在本地验证的方言分支(自增主键、on conflict、标识符引号都不同)。

如果确实有真实使用场景(比如已经有一套 PG 在跑多个子服),回帖说明一下环境和规模,够多的话就加,改动集中在 DatabaseType 的方言实现 + 一个驱动依赖。


PostgreSQL support: collecting demand before implementing.

Only sqlite and mysql are supported today. Adding PostgreSQL means maintaining another dialect branch (auto-increment, on conflict, identifier quoting) that we cannot verify locally, so I'd rather not ship a speculative path.

Reply if you actually run PostgreSQL in production and need fake player data there — tell us the setup (single server or shared across backends) and how the current MySQL option falls short. If there's real demand, we'll add it.

Dominant language
Java
Stars
50
Forks
10
Avg merge
1h 40m
Merged PRs (30d)
39

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EndlessPixel-Studio/FakePlayer-CE

All issues in EndlessPixel-Studio/FakePlayer-CE

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.