mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
[GH-ISSUE #18] README_EN.md #17
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pgadmin3#17
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?
Originally created by @tobwen on GitHub (Sep 13, 2021).
Original GitHub issue: https://github.com/levinsv/pgadmin3/issues/18
This project is based on pgAdmin3 v1.22. I'm supporting it to fix bugs, which occur original version or to add new features, I'm interested in. As of 2018-10-10 about 70 source files have been changed.
For convenience, the last compiled executable will be in the Release directory. You only need to replace the original pgAdmin3.exe to make it work.
Only the original version of PostgreSQL 12 and PostrgesPro Enterprise will be supported.
The full version of pgAdmin3 can be found here https://github.com/postgres/pgadmin3.git
What's added:
2018-11-01
2018-12-11
2018-12-05
2018-12-28
2019-01-11
2019-01-26
2019-02-09
2019-03-11
2019-09-10
Server Status window
Query window
2019-09-04
2019-12-22
2020-03-04
2020-03-28
2020-04-11
2020-04-13
2020-04-15
2020-04-22
2020-05-06
2020-05-08
2020-09-02
2020-09-05
2020-12-05
2021-01-02
2021-01-03
2021-02-19
2021-08-19
2021-09-13
2022-01-13
2022-07-06
2022-11-24
Added experimental gitLab feature. To work with gitlab you need to put file gitlab.json in %APPDATA%\postgresql directory. Here is an example of the contents of the file:
{ "url": "https://gl.mympany.ru:4443/api/v4/", "private_token": "V3JYpw2x5rr61yGe_M2e", "project_id": "532" }After launching pgAdmin3 the Git tab will appear with additional tabs. For now, you can only commit to work with GitLab on the additional Commit tab. Only the contents of schema objects are saved in GitLab. Saved only SQL representations.The algorithm is as follows:
Here is an example of settings from pgadmin3.json
{ "ignore_schema": ["public", "repack", "schedule"], "control_objects": ["Functions", "Views", "Tables", "Trigger Functions", "Procedures", "Schemas", "Schema", "Database"], "maps_branch_to_dbname":[ {"branch": "asu", "list_db": ["asu"] } , {"branch": "common_db", "list_db": ["dbname1", "dbname2"] } ] }Where: "ignore_schema" - list of schemas that do not need to save and git "control_objects" - list of schema object types that need to save. "maps_branch_to_dbname" - the comparison of the names of branches and database names.Press the "Load Git" button and loading SQL representations of objects from GitLab After this operation the list of "List commit files" will be filled with a discrepancy between the current database and a branch in GitLab
If you select some elements (or all by pressing Ctrl + A) then, having specified the name of a commit and having pressed the button "commit" it is possible to close current SQL representation of the chosen elements in GitLab
Right-clicking on any item in the list will show the differences between objects in the database and GitLab. All other buttons and bookmarks do not need to be used. A typical way to use, to keep histories of changes of objects in the database in GitLab.
@tobwen commented on GitHub (Feb 20, 2022):
Updated until 2022-01-13. I hope I got it all right.
@tobwen commented on GitHub (Mar 10, 2023):
Updated until 2022-11-24.