SQL-level replication management
--------------------------------

                 Key: CORE-6285
                 URL: http://tracker.firebirdsql.org/browse/CORE-6285
             Project: Firebird Core
          Issue Type: New Feature
          Components: Engine
    Affects Versions: 4.0 Beta 1
            Reporter: Dmitry Yemanov


Sometimes it makes sense to set up the replication set (i.e. tables to be 
replicated) inside the database rather than via the configuration file. Or 
provide a two-level customization, with tables explicitly included at the 
database level and excluded using the configuration wildcards.

For that purpose, CREATE TABLE and ALTER TABLE commands are extended with the 
optional {ENABLE | DISABLE} PUBLICATION clause. Also ALTER DATABASE command is 
extended with batch operations to manage the replication set:

ALTER DATABASE ADD {ALL | TABLE <comma-separated table list>} TO PUBLICATION
ALTER DATABASE DROP {ALL | TABLE <comma-separated table list>} FROM PUBLICATION

And finally, ALTER DATABASE command now offers an ability to switch the 
replication ON/OFF at runtime:

ALTER DATABASE {ENABLE | DISABLE} PUBLICATION

See also /doc/replication.md and /doc/sql.extensions/README.ddl.txt.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to