dbTalk Databases Forums  

[BUGS] Table name length: differences b/w 7.2.2 and 8.0.0-RC2 ?

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


Discuss [BUGS] Table name length: differences b/w 7.2.2 and 8.0.0-RC2 ? in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sankaranarayanan K V
 
Posts: n/a

Default [BUGS] Table name length: differences b/w 7.2.2 and 8.0.0-RC2 ? - 12-28-2004 , 06:44 AM







Configurations:

A: PostgreSQL 7.2.2 on a RedHat Linux 6.2
B: Windows PostgreSQL 8.0.0 RC2

(A) truncates table names with length >32 characters
to 32 characters.

I have some legacy application which relies on this fact.
This code uses 32+ chars for creating the schema but
uses 32- chars for querying. This works fine with 7.2.2.

However, it doesn't work with (B) which expects complete
names.

My application needs to work with both the databases.

Is there any way by which I can impose the 32 char limit
on the 8.0 database?

In which PGSQL release did the table name length limitation change?

Thanks,
Sankar


Keywords: PostgreSQL, table, name, length, 32, 31, truncate, limit
Keywords: 8.0.0, 7.2.2


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

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

Default Re: [BUGS] Table name length: differences b/w 7.2.2 and 8.0.0-RC2 ? - 12-28-2004 , 09:11 AM






Sankaranarayanan K V <sankar (AT) motorola (DOT) com> writes:
Quote:
Is there any way by which I can impose the 32 char limit
on the 8.0 database?
Rebuild with a different NAMEDATALEN.

Quote:
In which PGSQL release did the table name length limitation change?
RTF release notes.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) 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.