blib/lib/blx/xsdsql/schema_repository/sql/pg/catalog.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 14 Podpod 0.0% 0 / 10 totaltotal 0.0% 0 / 49 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
get_name_maxsize
2.0
get_comment_maxsize
2.0
CRAP 2.0
1 package blx::xsdsql::schema_repository::sql::pg::catalog;
2  
3 use strict; # use strict is for PBP
4 use Filter::Include;
5 include blx::xsdsql::include;
6 #line 7
7  
8 use base qw(blx::xsdsql::schema_repository::sql::generic::catalog);
9  
10 use constant {
11 DICTIONARY_NAME_MAXSIZE => 63
12 ,DICTIONARY_COMMENT_MAXSIZE => 2048
13 ,BEGIN_COMMENT => '/*'
14 ,END_COMMENT => '*/'
15 ,COMMAND_TERMINATOR => ';'
16 ,MAX_COLUMNS_VIEW => 1600
17 ,MAX_JOINS_VIEW => -1 #unlimited
18 ,MAX_COLUMNS_TABLE => 1600
19 };
20  
21 sub new {
22 my ($class,%params)=@_;
23 return $class->SUPER::_new(%params);
24 }
25  
26 sub get_name_maxsize { return DICTIONARY_NAME_MAXSIZE; }
27  
28 sub get_comment_maxsize { return DICTIONARY_COMMENT_MAXSIZE; }
29  
30 sub get_begin_comment { return BEGIN_COMMENT; }
31  
32 sub get_end_comment { return END_COMMENT; }
33  
34 sub command_terminator { return COMMAND_TERMINATOR; }
35  
36 sub get_max_columns_view { return MAX_COLUMNS_VIEW; }
37  
38 sub get_max_joins_view { return MAX_JOINS_VIEW; }
39  
40 sub get_max_columns_table { return MAX_COLUMNS_TABLE; }
41  
42 sub is_support_views { return 1; }
43  
44  
45 1;
46  
47 __END__