SLONIK_DEFINE 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 DEFINE(7)	     Slonik Meta Commands	      SLONIK DEFINE(7)

NAME
       DEFINE - Defining a named symbol

SYNOPSIS
       define  [  name	] [  value  ]

DESCRIPTION
       This defines a named symbol.  Symbol names must follow the slonik rules
       for constructing identifiers, by starting with a	 letter,  followed  by
       letters, numbers, and underscores.

       Symbol  values  may  contain  spaces and may recursively contain symbol
       references.

       Symbols are referenced by using a ``@'' followed by  the	 symbol	 name.
       Note that symbol referencing is suppressed inside string literals.

EXAMPLE
       define	 cluster movies;
       define	 sakai	 1;
       define	 chen	 2;
       define	 fqn	 fully qualified name;

       cluster name = @cluster;
       node @sakai admin conninfo = 'service=sakai-replication';
       node @chen  admin conninfo = 'service=chen-replication';
       define setMovies	   id = 1;
       define sakaiMovies  @setMovies, origin = @sakai;

       create set ( @sakaiMovies, comment = 'movies' );

       set add table( set @sakaiMovies, id = 1, @fqn = 'public.customers',
		      comment = 'sakai customers' );
       set add table( set @sakaiMovies, id = 2, @fqn = 'public.tapes',
		      comment = 'sakai tapes' );
       echo 'But @sakaiMovies will display as a string, and is not expanded';

VERSION INFORMATION
       This command was introduced in Slony-I 1.1

				18 January 2015		      SLONIK DEFINE(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