Escape the closing quote character when quoting indentifiers
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Generator / DDL / PostgreSQL.pm
CommitLineData
2230ed2a 1package SQL::Translator::Generator::DDL::PostgreSQL;
2
3=head1 NAME
4
5SQL::Translator::Generator::DDL::PostgreSQL - A Moo based PostgreSQL DDL generation
6engine.
7
8=head1 DESCRIPTION
9
10I<documentation volunteers needed>
11
12=cut
13use Moo;
14
0c425150 15has quote_chars => (
16 is => 'rw',
17 default => sub { +[qw(" ")] },
18 trigger => sub { $_[0]->clear_escape_char },
19);
2230ed2a 20
21with 'SQL::Translator::Generator::Role::Quote';
22
23sub name_sep { q(.) }
24
251;
26
27=head1 AUTHORS
28
29See the included AUTHORS file:
30L<http://search.cpan.org/dist/SQL-Translator/AUTHORS>
31
32=head1 COPYRIGHT
33
34Copyright (c) 2012 the SQL::Translator L</AUTHORS> as listed above.
35
36=head1 LICENSE
37
38This code is free software and may be distributed under the same terms as Perl
39itself.
40
41=cut