From 5d5a66136edb33576031757662be9c64a9a9f35f Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Sun, 18 Aug 2024 17:55:53 -0500 Subject: [PATCH] Show SQL at the top of the results --- src/pgwui_sql/templates/sql.mak | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pgwui_sql/templates/sql.mak b/src/pgwui_sql/templates/sql.mak index 0a38d78..5859f37 100644 --- a/src/pgwui_sql/templates/sql.mak +++ b/src/pgwui_sql/templates/sql.mak @@ -50,6 +50,13 @@

Executed SQL without errors, from a file!

+ % if sql: +
    + % for sql_line in sql.rstrip().split('\n'): +
  1. ${sql_line}
  2. + % endfor +
+ % endif <%block name="page_heading"> -- 2.34.1