GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SLONIK_DEFINE (7)

NAME

DEFINE - Defining a named symbol

CONTENTS

Synopsis

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

Search for    or go to Top of page |  Section 7 |  Main Index


SLONIK DEFINE (7) 18 January 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.