Re: [Firebird-devel] Regression: system generator RDB$BACKUP_HISTORY cannot be modified

2014-04-08 Thread Vlad Khorsun
Unfortunately, rdb$backup_history is the only sys gen that's not modified from an internal request. Time to use triggers and INSERT RETURNING ? :) Regards, Vlad -- Put Bad Developers to Shame Dominate Development

Re: [Firebird-devel] Regression: system generator RDB$BACKUP_HISTORY cannot be modified

2014-04-08 Thread Vlad Khorsun
Unfortunately, rdb$backup_history is the only sys gen that's not modified from an internal request. Time to use triggers and INSERT RETURNING ? :) Or let VIO_store() handle rel_backup_history and do the generator increment from set_metadata_id(). Agree. In

Re: [Firebird-devel] Regression: system generator RDB$BACKUP_HISTORY cannot be modified

2014-04-08 Thread Dmitry Yemanov
08.04.2014 11:54, Vlad Khorsun wrote: Personally, i not consider it as important, if nbackup v3 will not work with Firebird before v3... Me neither. But if it can be easily done, why not. Dmitry -- Put Bad

[Firebird-devel] Regression: system generator RDB$BACKUP_HISTORY cannot be modified

2014-04-07 Thread Alex Peshkoff
Hi all! nbackup in trunk is broken: fbs bin # ./nbackup -b 0 employee l0.nbk [ PROBLEM ON execute history insert. System generator RDB$BACKUP_HISTORY cannot be modified SQLCODE:-901 ] fbs bin # ./isql employee Database: employee SQL select gen_id(rdb$backup_history, 1) from rdb$database;