2025-10-04 12:56:56 +02:00
2025-10-03 07:42:55 +02:00
2025-10-13 17:13:03 +02:00
2025-10-12 18:20:29 +02:00
2025-10-06 22:08:23 +02:00
2025-10-13 11:06:48 +02:00
2025-10-13 20:59:17 +02:00
2025-10-03 07:42:55 +02:00
2025-10-13 11:06:48 +02:00
2025-10-13 20:59:17 +02:00
2025-10-13 20:59:17 +02:00
2025-10-13 16:30:11 +02:00

Construire l'image

docker build -t iut/pgsql:2025-12 .

Données

Conventions de nommage

Le nom des tables est au singulier et en minuscule

Schéma

table colonnes
adherent id, nom, prenom, genre, naissance, codepostal
famille code, famille, code_parent, arborescence (ltree), gauche, droite
article code, article, famille_code, factpoids, prix
ticket id, date_ticket, adherent_id, mode_rglt
ligne id, ticket_id, article_code, prix_unitaire, quantite

Export

psql -h 127.0.0.1 -d sql -U sql -c "\copy (select * from ligne order by id) to './ligne.csv' with csv header"
psql -h 127.0.0.1 -d sql -U sql -c "\copy (select id, source, target, cost, reverse_cost, ST_AsText(geom) from route order by id) to './route.csv' with csv header"

Jeux de données

Proxy

Administration

pgAdmin est un outil dadministration et de gestion pour PostgreSQL. Cest léquivalent dun « phpMyAdmin » pour MySQL, mais conçu pour PostgreSQL.

PostGraphile

docker build -t iut/postgraphile:2025-12 ./postgraphile
Description
No description provided
Readme 75 MiB
Languages
PLpgSQL 76.5%
Python 18.1%
HTML 2.8%
Dockerfile 2.1%
Shell 0.5%