Re: createuser/dropuser username
От | Bruce Momjian |
---|---|
Тема | Re: createuser/dropuser username |
Дата | |
Msg-id | 201109130253.p8D2rFi20556@momjian.us обсуждение исходный текст |
Ответ на | Re: createuser/dropuser username (Peter Eisentraut <peter_e@gmx.net>) |
Список | pgsql-docs |
Peter Eisentraut wrote: > On fre, 2011-09-09 at 19:48 -0400, Bruce Momjian wrote: > > ! Specifies the default tablespace for the database. (This name > > ! is processed as a double-quoted identifier.) > > I don't find this wording particularly useful. What does it mean? The > imaginary double quotes are stripped off? My original wording said that the identifier is processed with double-quotes internally. Is that better? > The advantage of using the shell tools is that you are not affected by > the oddities of SQL syntax, so don't introduce references to SQL syntax > where it doesn't need to be. Just say, the names are used as is. Or > just say nothing, because nothing happens. We have to say something because the section description says only user/db names are double-quoted, execept where documented. > > ! Specifies the name of the procedural language to be > > ! installed. (This name is lower-cased.) > > Maybe an explanation why would be in order here. I frankly have no idea why. > > + <para> > > + When specified on the command line, user and databases names have > > + their case preserved — the presence of spaces or special > > + characters might require quoting. Table names and other identifiers > > + do not have their case preserved, except where documented, and > > + might require quoting. > > + </para> > > What kind of quoting might be required? Double or single-quoting, and I don't know about Windows, except I know is supports double-quoting. Do we really want to get into that? -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-docs по дате отправления: