Skip to content

Commit

Permalink
only list in case of failure
Browse files Browse the repository at this point in the history
Signed-off-by: Sumit Jaiswal <[email protected]>
  • Loading branch information
Sumit Jaiswal committed Oct 25, 2023
1 parent 03cd14a commit fbd6b49
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 63 deletions.
26 changes: 0 additions & 26 deletions test/JDBC/expected/AUTO_ANALYZE-before-15-5-or-14-10-vu-verify.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,3 @@ GO
varchar
~~END~~



-- list all the babel catalogs that has been analyzed manually during extension upgrade
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NOT NULL order by relname
Go
~~START~~
varchar
assemblies
babelfish_authid_login_ext
babelfish_authid_user_ext
babelfish_configurations
babelfish_domain_mapping
babelfish_extended_properties
babelfish_function_ext
babelfish_helpcollation
babelfish_namespace_ext
babelfish_schema_permissions
babelfish_server_options
babelfish_sysdatabases
babelfish_syslanguages
babelfish_view_def
service_settings
spt_datatype_info_table
versions
~~END~~

26 changes: 0 additions & 26 deletions test/JDBC/expected/AUTO_ANALYZE-vu-verify.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,3 @@ GO
varchar
~~END~~



-- list all the babel catalogs that has been analyzed manually during extension upgrade
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NOT NULL order by relname
Go
~~START~~
varchar
assemblies
babelfish_authid_login_ext
babelfish_authid_user_ext
babelfish_configurations
babelfish_domain_mapping
babelfish_extended_properties
babelfish_function_ext
babelfish_helpcollation
babelfish_namespace_ext
babelfish_schema_permissions
babelfish_server_options
babelfish_sysdatabases
babelfish_syslanguages
babelfish_view_def
service_settings
spt_datatype_info_table
versions
~~END~~

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@
-- will return NULL in this case
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NULL order by relname
GO


-- list all the babel catalogs that has been analyzed manually during extension upgrade
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NOT NULL order by relname
Go
7 changes: 1 addition & 6 deletions test/JDBC/input/AUTO_ANALYZE-vu-verify.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@
-- list all the babel catalogs that has not been analyzed manually during extension upgrade
-- will return NULL in this case
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NULL order by relname
GO


-- list all the babel catalogs that has been analyzed manually during extension upgrade
SELECT relname FROM pg_stat_all_tables WHERE schemaname = 'sys' and last_analyze IS NOT NULL order by relname
Go
GO

0 comments on commit fbd6b49

Please sign in to comment.