---
name: "SLONIK_EXIT"
section: "7"
platform: "linux"
package: "slony1-2-doc"
version: "2.2.11-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SLONIK_EXIT"
---

# SLONIK\_EXIT(7)

Terminate Slonik script with signal

## NAME

EXIT - Terminate Slonik script with signal

## SYNOPSIS

FC**exit**F\[0\]  \[ *\[-\]ival*\]

## DESCRIPTION

Terminates script execution immediately, rolling back every open transaction on all database connections. The slonik utility will return the given value as its program termination code. Note that on Unix, exit statuses are restricted to the range 0-255.

## EXAMPLE

```
FC     EXIT 0;
    F[0]
```

## VERSION INFORMATION

This command was introduced in Slony-I 1.0
