diff options
Diffstat (limited to 'dbx_Pg.pl')
-rw-r--r-- | dbx_Pg.pl | 9 |
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; |