Dear Dave,

MD5 is a way to create a unique signature of files. For example, it is used 
to create unique signatures or RPMs or ISO files.

MD5 could well be used to create a unique signature of the database schema:

In bash :
md5sum < pg_dump --schema-only database_name.

result (example):
9b05A8d545...

md5stamp ("database", db_name) : would update the signature of schema 
server-side. The signature would be stored along in pg_database in a "stamp" 
field.

Then, in case of multi-user development, pgAdmin2 could be aware of a change 
in schema, simply looking at db name "stamp". Maybe there is an easier way to 
proceed...

Cheers,
Jean-Michel




Reply via email to