SLONIK_SET_ADD_SEQUENCE man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SLONIK SET ADD SEQUENCEConfiguration and Action commSLONIK SET ADD SEQUENCE(7)

NAME
       SET ADD SEQUENCE - Add a sequence to a	 Slony-I replication set

SYNOPSIS
       SET ADD SEQUENCE (options);

DESCRIPTION
       Add an existing user sequence to a replication set. The set cannot cur‐
       rently be subscribed by any other node -	 that  functionality  is  sup‐
       ported by the SLONIK MERGE     SET(7) command.

	SET ID = ival
	      ID of the set to which the sequence is to be added.

	ORIGIN = ival
	      Origin node for the set. (optional)

	ID = ival
	      Unique ID of the sequence.

	      Note:  Note  that	 this  ID  needs to be unique across sequences
	      throughout the cluster; the numbering of tables is separate,  so
	      you might have a table with ID 20 and a sequence with ID 20, and
	      they would be recognized as separate.
       This parameter is optional.  If this parameter is omitted  then	slonik
       will check every node that it can connect to and find the highest table
       id being used across all nodes.

	FULLY QUALIFIED NAME = 'string'
	      The full sequence name including schema name.  If	 SEQUENCES  is
	      specified then FULLY QUALIFIED NAME should be omitted.

       SEQUENCES = 'string'
	      A	 POSIX	regular	 expression that matches to the sequences that
	      should be added to the replication set.  This regular expression
	      is passed to postgresql for evaluation on the set origin against
	      fully qualified sequence names. This parameter is	 optional.  If
	      FULLY  QUALIFIED	NAME  is omitted then SEQUENCES must be speci‐
	      fied.

	COMMENT = 'string'
	      A descriptive text added to the sequence entry.

       This uses setaddsequence(integer,integer,text,text).

EXAMPLE
	    SET ADD SEQUENCE (
	    SET ID = 1,
	    ORIGIN = 1,
	    ID = 20,
	    FULLY QUALIFIED NAME = 'public.tracker_ticket_id_seq',
	    COMMENT = 'Support ticket ID sequence'
	    );

	     or

	     SET ADD SEQUENCE(
	     SET ID=1,
	     SEQUENCES='public.tracker_ticket_id_seq'
	     );

LOCKING BEHAVIOUR
       No application-visible locking should take place.

SLONIK EVENT CONFIRMATION BEHAVIOUR
       Slonik waits for the command submitted to the previous event node to be
       confirmed on the specified event node before submitting this command.

VERSION INFORMATION
       This command was introduced in Slony-I 1.0

				18 January 2015	    SLONIK SET ADD SEQUENCE(7)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net