2min chapter

Postgres FM cover image

psql vs GUIs

Postgres FM

CHAPTER

How to Write a Script for PSQL Variables

The plain anvil is syntax is quite it's quite long so that can be could be really helpful. You can do a lot of things if you look inside my post-gizdba project you will find interesting things for example backslash if backslash else variables and so on and so on like many things. It's basically like some kind of macro language you can script you can do scripts for psql. I had a problem yesterday I worked with PLP scale function and it had select something into variable  and then I wanted to repeat the same steps in p sql.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode