Re: [HACKERS] Truncation of identifiers

2016-01-13 Thread Gavin Flower
On 14/01/16 13:05, Tom Lane wrote: Thomas Munro writes: Wouldn't it be better to raise an error when identifiers are too long, rather than accepting but truncating them? I wouldn't think so. I'm not aware of any other database that does this. It's standard practice in most programming langu

Re: [HACKERS] Truncation of identifiers

2016-01-13 Thread Tom Lane
Thomas Munro writes: > Wouldn't it be better to raise an error when identifiers are too long, > rather than accepting but truncating them? I wouldn't think so. > I'm not aware of any other database that does this. It's standard practice in most programming languages AFAIK. And SQL is surely a