SLONIK_EXIT(7)

πŸ“¦
version 2.2.11 Β· 4 versions
, in debian trixie, ubuntu questing

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the SLONIK EXIT(7) manual page β€” part of the Slony-I 2.2.11 Documentation. this is all about EXIT β€” terminate your Slonik script with a signal. it's giving "we're done here" energy, and honestly? iconic. πŸ’…


✨ SYNOPSIS ✨

exit [ [-]ival]

πŸ’– DESCRIPTION πŸ’–

so like, this command says "stop everything" and terminates script execution immediately. no waiting, no "one more thing" β€” just done. and it doesn't just stop the script, it also rolls back every open transaction on all database connections. every single one. no cap. 🫢

then the slonik utility will return the given value as its program termination code. so whatever number you pass in? that's what the program exits with.

⚠️ but heads up bestie: on Unix, exit statuses are restricted to the range 0-255. so don't try to be extra with a bigger number. it's not gonna slay, it's just gonna wrap around or be weird. periodt.

🌸 EXAMPLE 🌸

like this, bestie:

EXIT 0;

πŸ‘‘ VERSION INFORMATION πŸ‘‘

this command was introduced in Slony-I 1.0. so it's been serving looks since day one. πŸ’…


okay that's the tea. this page is from the Slony-I 2.2.11 Documentation, dated 19 September 2024. bye bestie, go exit gracefully! πŸ¦‹βœ¨

πŸ“¦ where this page comes from