|
|
|
@ -24,7 +24,7 @@ def run_psql_command():
|
|
|
|
)
|
|
|
|
)
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
cursor = connection.cursor()
|
|
|
|
cursor = connection.cursor()
|
|
|
|
command = "CALL public.pivot_wider();"
|
|
|
|
command = "CALL public.pivot_dist();"
|
|
|
|
cursor.execute(command)
|
|
|
|
cursor.execute(command)
|
|
|
|
connection.commit()
|
|
|
|
connection.commit()
|
|
|
|
except psycopg2.Error as e:
|
|
|
|
except psycopg2.Error as e:
|
|
|
|
|