Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/techsneeze/dmarcts-report-parser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dbx_Pg.pl')
-rw-r--r--dbx_Pg.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/dbx_Pg.pl b/dbx_Pg.pl
new file mode 100644
index 0000000..46bb7f0
--- /dev/null
+++ b/dbx_Pg.pl
@@ -0,0 +1,9 @@
+%dbx = (
+ epoch_to_timestamp_fn => 'TO_TIMESTAMP',
+ to_hex_string => sub {
+ my ($bin) = @_;
+ return "'\\x" . unpack("H*", $bin) . "'";
+ },
+);
+
+1;