I am trying to understand what @ does in a call to the Postgres function. This is the worst term for google or documentation search.
I can do:
SELECT @extract(epoch FROM valid_to - valid_from) FROM...
and
SELECT extract(epoch FROM valid_to - valid_from) FROM...
both seem to work. I found the version with @ in the example, and I just can’t find its purpose in any documentation or search query.
Who knows what it is or can indicate where to read more?
source
share