dbTalk Databases Forums  

[BUGS] BUG #1010: format_type errors oin formatting type interval.

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1010: format_type errors oin formatting type interval. in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1010: format_type errors oin formatting type interval. - 12-16-2003 , 11:07 AM







The following bug has been logged online:

Bug reference: 1010
Logged by: Jeff Davis
Email address: pg (AT) xarg (DOT) net
PostgreSQL version: 7.4
Operating system: Linux, Mac OS X 10.3
Description: format_type errors oin formatting type interval.
Details:

head=# select version();
version
--------------------------------------------------------
PostgreSQL 7.4 on powerpc-apple-darwin7.0.0, compiled by GCC gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)

head=# select pg_catalog.format_type(oid, typlen) from pg_type where typname = 'interval';
ERROR: invalid INTERVAL typmod: 0xc

Same error on linux. Does not happen on 7.3.4.


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1010: format_type errors oin formatting type interval. - 12-17-2003 , 01:55 AM






"PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org> writes:
Quote:
head=# select pg_catalog.format_type(oid, typlen) from pg_type where typname = 'interval';
ERROR: invalid INTERVAL typmod: 0xc
This is not a bug. format_type's second arg is typmod, not typlen.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.