mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[PR #872] [MERGED] add postgresql backend #1867
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#1867
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/1Remote/1Remote/pull/872
Author: @goldenbull
Created: 2/21/2025
Status: ✅ Merged
Merged: 2/22/2025
Merged by: @VShawn
Base:
main← Head:postgres📝 Commits (1)
d2018aeadd postgresql backend📊 Changes
9 files changed (+571 additions, -27 deletions)
View changed files
📝
Ui/Service/DataSource/DAO/Dapper/DapperDataBase.cs(+43 -16)📝
Ui/Service/DataSource/DAO/IDataBase.cs(+5 -1)📝
Ui/Service/DataSource/Model/DataSourceBase.Config.cs(+1 -0)➕
Ui/Service/DataSource/Model/PgsqlSource.cs(+103 -0)📝
Ui/Ui.csproj(+1 -0)📝
Ui/View/Settings/DataSource/DataSourceView.xaml(+19 -0)📝
Ui/View/Settings/DataSource/DataSourceViewModel.cs(+11 -10)➕
Ui/View/Settings/DataSource/PgsqlSettingView.xaml(+144 -0)➕
Ui/View/Settings/DataSource/PgsqlSettingViewModel.cs(+244 -0)📄 Description
PostgreSQL backend support code is very similar to MySQL, the major difference is the quote character for identifiers.
Since all SQL scripts are quite simple, we can just replace the backtick with double quote to make all DBMS backends work in the same way.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.