pg_badapple Play "Bad Apple!!" in the psql client. This demo is to illustrate that the psql client can play some animation. Install make PG_CONFIG=<path to pg_config> install Run -- In psql client. CREATE EXTENSION badapple; SELECT play_badapple(); Reference Fun with PostgreSQL Puzzles: Recursive Functions with Animations ANSI/VT100 Terminal Control Escape Sequences Chion82/ASCII_bad_apple