Skip to content

Commit

Permalink
fix upgrade issue
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Kumawat <[email protected]>
  • Loading branch information
Sandeep Kumawat committed Dec 27, 2023
1 parent 65f52ba commit da23f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/babelfishpg_tsql/sql/sys_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ select
, null::sys.nchar(12) as net_address
, null::sys.nchar(12) as net_library
, CAST(a.usename as sys.nchar(128)) as loginname
, CAST(t.context_info::sys.varbinary(128) as sys.binary(128)) as context_info
, t.context_info as context_info
, null::sys.binary(20) as sql_handle
, 0::int as stmt_start
, 0::int as stmt_end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ALTER VIEW sys.dm_exec_connections RENAME TO dm_exec_connections_deprecated_3_4;

create or replace view sys.dm_exec_connections
as
select a.pid as session_idsf
select a.pid as session_id
, a.pid as most_recent_session_id
, a.backend_start::sys.datetime as connect_time
, 'TCP'::sys.nvarchar(40) as net_transport
Expand Down Expand Up @@ -298,7 +298,7 @@ select
, null::sys.nchar(12) as net_address
, null::sys.nchar(12) as net_library
, CAST(a.usename as sys.nchar(128)) as loginname
, CAST(t.context_info::sys.varbinary(128) as sys.binary(128)) as context_info
, t.context_info as context_info
, null::sys.binary(20) as sql_handle
, 0::int as stmt_start
, 0::int as stmt_end
Expand Down

0 comments on commit da23f5c

Please sign in to comment.