16 |
# write to the Free Software Foundation, Inc., 59 Temple Place |
# write to the Free Software Foundation, Inc., 59 Temple Place |
17 |
# - Suite 330, Boston, MA 02111-1307, USA. |
# - Suite 330, Boston, MA 02111-1307, USA. |
18 |
# |
# |
19 |
# Copyright 2002 Free Software Foundation |
# Copyright 2002-2003 Free Software Foundation |
20 |
# |
# |
21 |
# FILE: |
# FILE: |
22 |
# postgresql.py |
# postgresql.py |
31 |
from base import BaseProcessor |
from base import BaseProcessor |
32 |
|
|
33 |
name = "PostgreSQL" |
name = "PostgreSQL" |
34 |
description = "Oracle 7.x/8i/9i+" |
description = "PostgreSQL (6.x/7.x)" |
35 |
|
|
36 |
|
|
37 |
class Processor(BaseProcessor): |
class Processor(BaseProcessor): |
62 |
return "time" |
return "time" |
63 |
|
|
64 |
def timestamp(self, object): |
def timestamp(self, object): |
65 |
return "datetime" |
return "timestamp" |
66 |
|
|
67 |
def text(self, object): |
def text(self, object): |
68 |
return "text" |
return "text" |