Most programming languages in existence provide ways of controlling the flow of programs they are used to create.
PL/pgSQL is no different. Technically, by defining the structure of statements within a PL/pgSQL function, you are
controlling its "flow," in that you are controlling the manner in which it operates and the order its operations are
executed. However, there are more extensive ways in which you can control the flow of a PL/pgSQL, such as conditional
statements and the use of loops.