Bryn Llewellyn <bryn@xxxxxxxxxxxx> writes: > Was there a deliberate decision not to allow a “language sql” anonymous block? Or is it just that nobody thought that it would be useful? I think nobody thought it'd be useful. What's the difference from just executing the contained SQL statements? (If DO blocks had parameters, the conclusion might be different, but they don't so far.) regards, tom lane