Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A92F5133798E; Sun, 27 Mar 2011 07:42:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 23538-01; Sun, 27 Mar 2011 10:41:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148112.authsmtp.co.uk (outmail148112.authsmtp.co.uk [62.13.148.112]) by mail.postgresql.org (Postfix) with ESMTP id 85823133616B; Sun, 27 Mar 2011 07:41:48 -0300 (ADT) Received: from mail-c193.authsmtp.com (mail-c193.authsmtp.com [62.13.128.118]) by punt9.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id p2RAfl2Q045323; Sun, 27 Mar 2011 11:41:47 +0100 (BST) Received: from [192.168.23.4] (212.100.42.202.fixip.bitel.net [212.100.42.202]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id p2RAfjrV065389; Sun, 27 Mar 2011 11:41:46 +0100 (BST) Message-ID: <4D8F1469.1090903@2ndQuadrant.com> Date: Sun, 27 Mar 2011 12:41:45 +0200 From: Susanne Ebrecht User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: pgsql-hackers@postgresql.org CC: pgsql-docs@postgreSQL.org Subject: patch for createdb section in tutorial References: <4D8E66B9.8030501@2ndQuadrant.com> In-Reply-To: <4D8E66B9.8030501@2ndQuadrant.com> Content-Type: multipart/mixed; boundary="------------090701080804030108050205" X-Server-Quench: d03e9593-585e-11e0-97bb-002264978518 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOUR8T DCUJJHVGRTw4LxFW CBkfawBdJUwMSABN M15eIxoJcUtGGhZ8 UiQUWVRVUU1wWGlx agBVa0tfY0hQXgVq TkxLXFBSFhpqBAMB SF4cMGgkLUcgeHh1 Zk5rEHRdW0Q0IUZ+ F0dRHG4bYG9lPX0e URVYagpTIlFXfh9H aFZ7XXQFZGQPKBEU OCQICngpNClUKGxb RRtFJkgfSFoGEjR0 XB0JATQoGwUEQW0v MgAhMF8VGC4A X-Authentic-SMTP: 61633235383639.1014:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201103/125 X-Sequence-Number: 6558 This is a multi-part message in MIME format. --------------090701080804030108050205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090701080804030108050205 Content-Type: text/x-patch; name="doc_tutorial_createdb.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="doc_tutorial_createdb.patch" 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. 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 + 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 --------------090701080804030108050205--