/[BackupPC]/trunk/sql/zz_clean_archive_reset_dvd_nr.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/sql/zz_clean_archive_reset_dvd_nr.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 184 - (hide annotations)
Wed Oct 12 11:47:39 2005 UTC (18 years, 8 months ago) by dpavlin
File size: 224 byte(s)
clean dvd_nr and delete archive

1 dpavlin 184 -- WARNING: this is destructive operation which erase all archive data and
2     -- reset dvd_nr to 1. You have to commit it manually!
3    
4     begin;
5     delete from archive_burned ;
6     delete from archive ;
7     select setval('dvd_nr', 1, false) ;

  ViewVC Help
Powered by ViewVC 1.1.26