I'm reading this line from PostgreSQL's docker image repo.
PGHOST= PGHOSTADDR= "${query_runner[@]}" "$@"
I'm so confused why it has two var=
pattern in one line. I can understand that ${query_runner[@]}
will gives the output of executing the command represented by query_runner
, but which variable should this output be assigned to? Also, what does it mean by $@
in this case?