Re: Truncation of object names

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Truncation of object names
Date: 2001-04-13 20:27:15
Message-ID: 7429.987193635@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ncm(at)zembu(dot)com (Nathan Myers) writes:
>> Seems to me that if you want a bunch of CREATEs to be mutually
>> dependent, then you wrap them all in a BEGIN/END block.

> Yes, but... The second and third commands weren't supposed to be
> related to the first at all, never mind dependent on it. They were
> made dependent by PG crushing the names together.

Good point.

> We are thinking about working around the name length limitation
> (encountered in migrating from other dbs) by allowing "foo.bar.baz"
> name syntax, as a sort of rudimentary namespace mechanism.

Have you thought about simply increasing NAMEDATALEN in your
installation? If you really are generating names that aren't unique
in 31 characters, that seems like the way to go ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2001-04-13 20:30:19 pg_dump problem
Previous Message Pascal Scheffers 2001-04-13 20:25:46 Re: pg_dump ordering problem (rc4)