Re: creating index names automatically? - Mailing list pgsql-hackers

From Michael Glaesemann
Subject Re: creating index names automatically?
Date
Msg-id 062B8D3F-E822-4B55-A55F-38AAF333C9B8@seespotcode.net
Whole thread Raw
In response to Re: creating index names automatically?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: creating index names automatically?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Dec 20, 2009, at 13:58 , Tom Lane wrote:

> * Append "_index" not "_key" if it's not a constraint-related index.

"_idx" instead of "_index" keeps things a bit shorter (and a couple of  
keystrokes further from NAMEDATALEN). There's precedent for  
abbreviations with automatic naming in Postgres, e.g., "_fkey".

Michael Glaesemann
grzm seespotcode net





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support
Next
From: Martin Pihlak
Date:
Subject: Re: fdw validation function vs zero catalog id