Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

move to new location

Alaister Youngab57389358ae
diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
index 16385900ce6..2b8d764b132 100644
--- a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
@@ -24,6 +24,22 @@ const UtilityTabResults = ({ id, isExecuting }: UtilityTabResultsProps) => {
return (
<div className="bg-table-header-light dark:bg-table-header-dark">
<p className="m-0 border-0 px-6 py-4 font-mono">{result.error.message ?? result.error}</p>
+ {result.error.message?.includes('canceling statement due to statement timeout') && (
+ <p className="m-0 border-0 px-6 py-4 font-mono">
+ You can either{' '}
+ <a
+ className="underline"
+ href="https://supabase.com/docs/guides/platform/performance#examining-query-performance"
+ >
+ optimize your query
+ </a>
+ , or{' '}
+ <a className="underline" href="https://supabase.com/docs/guides/database/timeouts">
+ increase the statement timeout
+ </a>
+ .
+ </p>
+ )}
</div>
)
} else if (!result) {