Changes

Jump to: navigation, search

Addon:PostgreSQL

453 bytes added, 21:57, 21 September 2020
Prerequisites
{{Third-party plugin}}
{{man warn|For Experts only!|Gramps is not designed to be used by multiple users at the same time. While using a PostgreSQL server remotely allows multiple users to connect to a db, doing so simultaneously WILL cause database corruption and loss of data. If you chose to set up for multiple user access, please backup frequently, and set up a system of your own to make sure that only one person is using Gramps at one time. Gramps or the family tree MUST be closed before allowing another user to access the database. Be sure to [[How_to_make_a_backup#Gramps_version_3.3_and_later|backup]] your Family Trees frequently.}}
The {{man label|PostgreSQL}} addon provides PostgreSQL database support for Gramps 5.x or greater.
== Prerequisites ==
{{man warn|Note these instruction assume you are using Linux or development environment.|As the '''Gramps AIO & MacOS installers''' do not come with the Prerequisites and can not be installed easily. see {{bug|10491}} }}
 
Install the following packages:
 
sudo apt-get install postgresql libpq-dev postgresql-client postgresql-client-common
Make sure that you have installed your PostgreSQL Addon.
In Gramps select {{man menu|Edit > Preferences}} from the menu and then select the {{man label|[[Gramps_5.0_Wiki_Manual_Gramps_{{Version manual}}_Wiki_Manual_-_Settings#Family_Tree|Family Tree]]}} tab, select the {{man label|PostgreSQL}} entry for {{man label|Database backend:}}. That should allow you to enter the {{man label|Host}} and {{man label|Port}} settings. If you have the PostgreSQL server installed on the same machine as Gramps, you use <code>localhost</code> or <code>127.0.0.1</code> as your host name. If you are using a remote server, use that server's ip address or name. The default "port" for PostgreSQL is <code>5432</code>, use that or the port configured for your PostgreSQL server.
Use the Gramps Family Tree Manager to create a new tree, it must have the same name as the one you created on the server.
* [[MongoDB]]
<!==Issues==See issues attached to the [https://gramps-- Please leave at bottom of page-->project.org/bugs/tag_view_page.php?tag_id=224 PostgreSQL] tag. 
[[Category:Plugins]]
[[Category:Developers/General]]
119
edits

Navigation menu