Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aq0JP-0001YW-RJ for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2016 15:33:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aq0JP-0005RU-8V for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2016 15:33:07 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aq0J3-00053r-FJ for pgsql-docs@postgresql.org; Tue, 12 Apr 2016 15:32:45 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aq0Iz-0001gk-LJ for pgsql-docs@postgresql.org; Tue, 12 Apr 2016 15:32:44 +0000 Received: by mail-lf0-x243.google.com with SMTP id p81so3124279lfb.3 for ; Tue, 12 Apr 2016 08:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version; bh=f3rH0dMwGkDELvXP+Ho56/20CskV9mtBGQ+vsgi0GAI=; b=XdBEO4RS4y74p0h+wxtvBNTzqOJn/bItyeUUi8FEvFa+UwEOR3V1YVhA/0gmKdYlzN 7ifDug1RefUMQd1g2FhH4y8NBzIix7HEIvuNGHT9bxtGDTFPY0P4+L8CgHoYYi6szsKJ 5UVCo427QUlGEVbqf2EGCExFnQciMvo2vA5FA6dncDC4YH8NaAhCnTgjijYNZMPzlps0 +iAfzCyMOQKNCXaw5GLB8T5unVIBm+f40JHYx/Lsv7UYxb0WIN8XEOK8zdqxoxUJivcH 1Mvk4pPdwm4osEiACAwPfyoDUWTtIKwbjliOJ2tMHChpT/9nb2m+8h4hJMQk+DWZ+5n2 U4+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=f3rH0dMwGkDELvXP+Ho56/20CskV9mtBGQ+vsgi0GAI=; b=JTgyulZNj+mbgzCHR0MnKsjBomKb2INzD4P+dlxpvSB4knMSf8tVzPD8pJCcQMFkYY wycK0UYpoO2A0XVqCL4E27StErHHBX4PY3WcY/k1vqdPcWx3zDFRloM/RYSX91Gonc7g Rcnj9Ipr/aqvNX4OkcrumO7DGNekwRZOSLzhK+OuVU4pk8DTBhjjZGO1jLmhH2KhbX0W Nx3B57rNJfDjGkeeX/Vs2vp/aozkWuScC6RJjLTni4aUdXqGBe/UbA9QcnQgF97tIv/i tRqORYE7myoeXS7JsC6RlW5xogFIalRRG8qS1YaNBOiK1qJRk6d+JPdF1Tj8kBXsKNms QZQg== X-Gm-Message-State: AOPr4FWItrgP+HW3c20cBRvh5wzY6za9OWNgwyeCWf+wW7U+QwJ9essEJNBLCSQTLMUDQQ== X-Received: by 10.25.28.140 with SMTP id c134mr1337881lfc.99.1460475159505; Tue, 12 Apr 2016 08:32:39 -0700 (PDT) Received: from [1.0.0.7] ([109.196.196.120]) by smtp.gmail.com with ESMTPSA id cc7sm5490670lbd.11.2016.04.12.08.32.38 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Apr 2016 08:32:38 -0700 (PDT) To: pgsql-docs@postgresql.org From: Alexander Law Subject: Missing braces in ecpg.sgml Message-ID: <570D1515.7050102@gmail.com> Date: Tue, 12 Apr 2016 18:32:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050801070908070706020703" X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------050801070908070706020703 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, Please consider fixing braces in: http://www.postgresql.org/docs/current/static/ecpg-informix-compat.html Patch attached. Best regards, Alexander ----- Alexander Lakhin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --------------050801070908070706020703 Content-Type: text/x-patch; name="ecpg.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ecpg.diff" diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 1de9353..8748b9f 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -8559,7 +8559,7 @@ int dectolong(decimal *np, long *lngp); int rdatestr(date d, char *str); The function receives two arguments, the first one is the date to - convert (d and the second one is a pointer to the target + convert (d) and the second one is a pointer to the target string. The output format is always yyyy-mm-dd, so you need to allocate at least 11 bytes (including the zero-byte terminator) for the string. @@ -8912,7 +8912,7 @@ int dttoasc(timestamp *ts, char *output); The function receives a pointer to the timestamp variable to convert (ts) and the string that should hold the result of the - operation output). It converts ts to its + operation (output). It converts ts to its textual representation according to the SQL standard, which is be YYYY-MM-DD HH:MM:SS. @@ -8959,7 +8959,7 @@ int intoasc(interval *i, char *str); The function receives a pointer to the interval variable to convert (i) and the string that should hold the result of the - operation str). It converts i to its + operation (str). It converts i to its textual representation according to the SQL standard, which is be YYYY-MM-DD HH:MM:SS. --------------050801070908070706020703 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------050801070908070706020703--