Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed references to old logging methods

  • Loading branch information...
commit abbdd47890e5acb969ee0a32931135b4aa7104de 1 parent eeef21a
@palmerj palmerj authored
Showing with 2 additions and 5 deletions.
  1. +2 −4 sql/bde_functions.sql
  2. +0 −1  sql/version_bde_tables.sql
View
6 sql/bde_functions.sql
@@ -967,14 +967,12 @@ BEGIN
(clock_timestamp()-query_start) > '2 HOURS'
LOOP
BEGIN
- PERFORM bde_control.bde_WriteUploadLog( p_upload_id,'W',
- 'Dropping idle connection held by ' || v_usename );
+ RAISE WARNING 'Dropping idle connection held by %', v_usename;
PERFORM pg_terminate_backend( v_pid );
v_ndrop := v_ndrop + 1;
EXCEPTION
WHEN OTHERS THEN
- PERFORM bde_control.bde_WriteUploadLog( p_upload_id, 'E',
- 'Failed to drop idle connection: ' || SQLERRM );
+ RAISE EXCEPTION 'Failed to drop idle connection: %', SQLERRM;
END;
END LOOP;
RETURN v_ndrop;
View
1  sql/version_bde_tables.sql
@@ -42,7 +42,6 @@ BEGIN
1, 2
LOOP
v_msg := 'Versioning table ' || v_schema || '.' || v_table;
- PERFORM bde_control.bde_WriteUploadLog(1,'2',v_msg);
RAISE NOTICE '%', v_msg;
BEGIN
Please sign in to comment.
Something went wrong with that request. Please try again.