| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package SQL::Translator::Generator::DDL::PostgreSQL; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
SQL::Translator::Generator::DDL::PostgreSQL - A Moo based PostgreSQL DDL generation |
|
6
|
|
|
|
|
|
|
engine. |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
I |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=cut |
|
13
|
|
|
|
|
|
|
|
|
14
|
6
|
|
|
6
|
|
1145
|
use Moo; |
|
|
6
|
|
|
|
|
21306
|
|
|
|
6
|
|
|
|
|
77
|
|
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
has quote_chars => ( |
|
17
|
|
|
|
|
|
|
is => 'rw', |
|
18
|
|
|
|
|
|
|
default => sub { +[qw(" ")] }, |
|
19
|
|
|
|
|
|
|
trigger => sub { $_[0]->clear_escape_char }, |
|
20
|
|
|
|
|
|
|
); |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
with 'SQL::Translator::Generator::Role::Quote'; |
|
23
|
|
|
|
|
|
|
|
|
24
|
316
|
|
|
316
|
0
|
960
|
sub name_sep { q(.) } |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 AUTHORS |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
See the included AUTHORS file: |
|
31
|
|
|
|
|
|
|
L |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 COPYRIGHT |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Copyright (c) 2012 the SQL::Translator L as listed above. |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 LICENSE |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This code is free software and may be distributed under the same terms as Perl |
|
40
|
|
|
|
|
|
|
itself. |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |