Browse | Submit A New Snippet | Create A Package

Snippets by category: Database Manipulation

ID Title Creator
Snippets
9Compteur occurences bdd PostgresFrédéric Lang
Petit script Python 2.6 affichant l'ensemble des schémas et tables d'une bdd Postgres avec, pour chaque ensemble
- le nombre de lignes
- l'espace utilisé sur disque
+ les mêmes infos pour la bdd en elle-même.

Nécessite le module psycopg2 (non inclus dans Python) pour pouvoir se connecter à une bdd Postgres.

Nécessite aussi, si on veut pouvoir l'exécuter sans avoir à lui fournir les paramètres de connexion, que ceux-si soient écrits dans un fichier fichier "config.ini" dont voici un exemple
#
# Fichier de configuration pour les outils de manipulation bdd
# Ce fichier n'est pas utilisé par l'application
# Ce fichier est uniquement à usage des programmeurs
# Auteur : IEF Frédéric Lang (fr.lang@free.fr)
#

# Configuration pour la connexion bdd
[bdd/connexion]
host = /tmp # Serveur (chemin=socket)
port = 5432 # Port
dbname = bdd_test # Nom bdd
user = postgres # Utilisateur bdd
30(《TORONTO》)+27734818506→(《ONTARIO》)→ LOST LOVE SPELL CASTER king spell
Hello viewers, i am Moira Rose, from Turkmenabat , i want to use this opportunity to thank PRIEST OMAR for the great work he has done in my life. I had a very big misunderstanding with my husband and he said he no longer want me again that he needs a divorce, i was heart broken, i was diverstated and confused, i didn't know what to do until one faithful day i saw a testimony of someone testifying about what PRIEST OMAR has done for her i never believed in magic or spell but i had no choice, i decided to give it a try, so i contacted him via his email (worlwide06@gmail.com) OR (whatsupp +27734818506) he told me what i need to do which i did and he promised me that within 48 hours my husband was going to contact me, i didn't believed it 100%, so the second day morning as i was preparing to go to work i had my phone ringing and i went to pick it up i was surprised it was my husband calling, i answered and he started apologizing to me, i forgave him because i love him so much, and now he has turned a new live he stopped all the bad things he used to do, now he loves me more than he used to before. You can also contact him if you are also passing through such kind of marital problem or relationship issues he is a very powerful spell caster
FEDER Powered By FusionForge Collaborative Development Environment Charte d'utilisation / Nous contacter / Mentions légales Haut de page