pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
time with time zone sql type?
3+ messages / 2 participants
[nested] [flat]

* time with time zone sql type?
@ 2008-08-11 06:18  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 3+ messages in thread

From: Joost Kraaijeveld @ 2008-08-11 06:18 UTC (permalink / raw)
  To: pgsql-odbc

Hi,

Is there a reason why the sql type of a column with "time with time
zone" as returned by SQLColumns is SQL_VARCHAR and not SQL_TYPE_TIME?

For timestamp in both cases SQL_TYPE_TIMESTAMP is returned.

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: time with time zone sql type?
@ 2008-08-12 06:54  Hiroshi Inoue <inoue@tpf.co.jp>
  parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 3+ messages in thread

From: Hiroshi Inoue @ 2008-08-12 06:54 UTC (permalink / raw)
  To: J.Kraaijeveld@Askesis.nl; +Cc: pgsql-odbc

Joost Kraaijeveld wrote:
> Hi,
> 
> Is there a reason why the sql type of a column with "time with time
> zone" as returned by SQLColumns is SQL_VARCHAR and not SQL_TYPE_TIME?

One reason is that I don't understand the type well.

regards,
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: time with time zone sql type?
@ 2008-08-13 18:04  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  parent: Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 3+ messages in thread

From: Joost Kraaijeveld @ 2008-08-13 18:04 UTC (permalink / raw)
  To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc

On Tue, 2008-08-12 at 15:54 +0900, Hiroshi Inoue wrote:
> Joost Kraaijeveld wrote:
> > Hi,
> > 
> > Is there a reason why the sql type of a column with "time with time
> > zone" as returned by SQLColumns is SQL_VARCHAR and not SQL_TYPE_TIME?
> 
> One reason is that I don't understand the type well.
Mmmm. What is that should be understood? Maybe I can help?

What happens if you just return the true value (SQL_TYPE_TIME) ?

BTW: I can compile and install the Debian version of the driver on my
system but I have no clue what so ever about underlying pq library. I am
willing to look into it an help where ever I can , but in that case i
hope that you are prepared to answer my questions about it ;-)

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2008-08-13 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-11 06:18 time with time zone sql type? Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
2008-08-12 06:54 ` Hiroshi Inoue <inoue@tpf.co.jp>
2008-08-13 18:04   ` Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox