Hope this question wasn't asked before. Does anyone know the character limit for domain names? For example if I write this:
CREATE DOMAIN d_complement_activite_etablissement AS character varying
it will create a domain with the name:
d_complement_activite_etabliss
(Yeah, I know how to count, but I want some more info on the subject).
Is there a command that can change this maximum length? Is this length the same for other names (columns, tables etc)?
You ask:
The manual answers here:
Bold emphasis mine.
Meaning, the only way to change it is to hack the source code and recompile PostgreSQL.
Domain names are identifiers like any other. When I execute:
I get what I ordered (just tested on PostgreSQL 8.4 and 9.0; 9.1 is no different here):
Ergo: there must be some other piece of software cropping your name.