FfiiPgSqlDatabaseEn

The PostgreSQL database ffii on Genba

--> [ ffii computing ]


The !PostgreSQL database [=ffii] on genba stores stores information concerning the FFII such as supporters and projects.

Database Structure

Some interesting tables and views related to structure:

Naming Convention

phm: For convenience of programming in Knecht and MLHT, I try to keep table and field names limited to 8 a-z characters, and for convenience of natural joins I want fields that are suitable for such joining to have the same name and others not. Such constraints are a reason not to use descriptive english words such as 'name' or 'sum', but thanks to the pgsql documentation feature, this less intuitive naming should no longer entail much of a drawback.

Maintenace

When dumping the database for later import into a newer version of !PostgreSQL, it is recommended to use the pg_dump tool from the newer version.

PostgreSQL Groups

PhpPgAdmin

The FFII's !PostgreSQL databases can be accessed via the web using PhpPgAdmin:

https://www.ffii.org/phppgadmin/

In order for a user to log into PhpPgAdmin, authentication needs to be set to md5 (see [=/etc/postgresql/pg_hba.conf]) for the corresponding user ID. Note that with authentication set to md5 the user cannot access databases locally without specifying a password anymore: !PostgreSQL allows only one authentication method to be specified per user and connection type.

Hosting sponsored by Netgate and Init Seven AG