public inbox for [email protected]
help / color / mirror / Atom feedcharacters or bytes?
5+ messages / 3 participants
[nested] [flat]
* characters or bytes?
@ 2011-03-26 22:20 Susanne Ebrecht <[email protected]>
2011-03-27 10:41 ` patch for createdb section in tutorial Susanne Ebrecht <[email protected]>
2011-05-05 16:25 ` Re: characters or bytes? Bruce Momjian <[email protected]>
0 siblings, 2 replies; 5+ messages in thread
From: Susanne Ebrecht @ 2011-03-26 22:20 UTC (permalink / raw)
To: pgsql-docs
Hello,
During translating start.sgml - I found a sentence where I am not sure
if it is correct.
tutorial-createdb.html
Second paragraph below the "permission denied to create a database"
error message there is
the sentence:
" You can also create databases with other names. PostgreSQL allows
you to create any number of databases at a given site. Database names
must have an alphabetic first character and are limited to 63 characters
in length. ..."
Really 63 characters?
Shouldn't it be 63 bytes?
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
^ permalink raw reply [nested|flat] 5+ messages in thread
* patch for createdb section in tutorial
2011-03-26 22:20 characters or bytes? Susanne Ebrecht <[email protected]>
@ 2011-03-27 10:41 ` Susanne Ebrecht <[email protected]>
2011-03-28 01:30 ` Re: patch for createdb section in tutorial Robert Haas <[email protected]>
1 sibling, 1 reply; 5+ messages in thread
From: Susanne Ebrecht @ 2011-03-27 10:41 UTC (permalink / raw)
To: [email protected]; +Cc: pgsql-docs
Hello,
During translating the docs I found the following sentence
in the tutorial section about createdb:
"Database names must have an alphabetic first character
and are limited to 63 characters"
I wondered - really characters? shouldn't it be bytes?
I just tested - creating a database by using German umlauts
let me get sure - it are bytes not characters.
Here is the patch with the correction - I just changed the word
characters into bytes.
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
Attachments:
[text/x-patch] doc_tutorial_createdb.patch (788B, 2-doc_tutorial_createdb.patch)
download | inline diff:
diff --git a/doc/src/sgml/start.sgml b/doc/src/sgml/start.sgml
index 766dd7e..4275bf8 100644
--- a/doc/src/sgml/start.sgml
+++ b/doc/src/sgml/start.sgml
@@ -242,7 +242,7 @@ createdb: database creation failed: ERROR: permission denied to create database
You can also create databases with other names.
<productname>PostgreSQL</productname> allows you to create any
number of databases at a given site. Database names must have an
- alphabetic first character and are limited to 63 characters in
+ alphabetic first character and are limited to 63 bytes in
length. A convenient choice is to create a database with the same
name as your current user name. Many tools assume that database
name as the default, so it can save you some typing. To create
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: patch for createdb section in tutorial
2011-03-26 22:20 characters or bytes? Susanne Ebrecht <[email protected]>
2011-03-27 10:41 ` patch for createdb section in tutorial Susanne Ebrecht <[email protected]>
@ 2011-03-28 01:30 ` Robert Haas <[email protected]>
0 siblings, 0 replies; 5+ messages in thread
From: Robert Haas @ 2011-03-28 01:30 UTC (permalink / raw)
To: Susanne Ebrecht <[email protected]>; +Cc: [email protected]; pgsql-docs
On Sun, Mar 27, 2011 at 6:41 AM, Susanne Ebrecht
<[email protected]> wrote:
> Hello,
>
> During translating the docs I found the following sentence
> in the tutorial section about createdb:
>
> "Database names must have an alphabetic first character
> and are limited to 63 characters"
>
> I wondered - really characters? shouldn't it be bytes?
>
> I just tested - creating a database by using German umlauts
> let me get sure - it are bytes not characters.
>
> Here is the patch with the correction - I just changed the word
> characters into bytes.
Committed and back-patched all the way.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: characters or bytes?
2011-03-26 22:20 characters or bytes? Susanne Ebrecht <[email protected]>
@ 2011-05-05 16:25 ` Bruce Momjian <[email protected]>
2011-05-06 10:15 ` Re: characters or bytes? Susanne Ebrecht <[email protected]>
1 sibling, 1 reply; 5+ messages in thread
From: Bruce Momjian @ 2011-05-05 16:25 UTC (permalink / raw)
To: Susanne Ebrecht <[email protected]>; +Cc: pgsql-docs
Susanne Ebrecht wrote:
> Hello,
>
> During translating start.sgml - I found a sentence where I am not sure
> if it is correct.
>
> tutorial-createdb.html
>
> Second paragraph below the "permission denied to create a database"
> error message there is
> the sentence:
>
> " You can also create databases with other names. PostgreSQL allows
> you to create any number of databases at a given site. Database names
> must have an alphabetic first character and are limited to 63 characters
> in length. ..."
>
> Really 63 characters?
> Shouldn't it be 63 bytes?
>
Susanne, not sure you received a reply, but the documention has been
corrected to say "bytes". Thanks.
--
Bruce Momjian <[email protected]> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: characters or bytes?
2011-03-26 22:20 characters or bytes? Susanne Ebrecht <[email protected]>
2011-05-05 16:25 ` Re: characters or bytes? Bruce Momjian <[email protected]>
@ 2011-05-06 10:15 ` Susanne Ebrecht <[email protected]>
0 siblings, 0 replies; 5+ messages in thread
From: Susanne Ebrecht @ 2011-05-06 10:15 UTC (permalink / raw)
To: Bruce Momjian <[email protected]>; +Cc: pgsql-docs
On 05.05.2011 18:25, Bruce Momjian wrote:
>> Really 63 characters?
>> Shouldn't it be 63 bytes?
>>
> Susanne, not sure you received a reply, but the documention has been
> corrected to say "bytes". Thanks.
Bruce,
that is nice.
I got the answer already a few minutes after asking.
Anyway, thanks for taking care and replying,
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2011-05-06 10:15 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-26 22:20 characters or bytes? Susanne Ebrecht <[email protected]>
2011-03-27 10:41 ` patch for createdb section in tutorial Susanne Ebrecht <[email protected]>
2011-03-28 01:30 ` Re: patch for createdb section in tutorial Robert Haas <[email protected]>
2011-05-05 16:25 ` Bruce Momjian <[email protected]>
2011-05-06 10:15 ` Susanne Ebrecht <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox