pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
A typo in fdwhandler.sgml
3+ messages / 3 participants
[nested] [flat]

* A typo in fdwhandler.sgml
@ 2016-07-11 16:57  Alexander Law <exclusion@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Alexander Law @ 2016-07-11 16:57 UTC (permalink / raw)
  To: pgsql-docs; +Cc: rhaas@postgresql.org

Hello,

There is a typo in fdwhandler.sgml. Patch attached.

Best regards,
Alexander

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Attachments:

  [text/x-patch] fdwhandler.patch (574B, ../../5783CFFB.10105@gmail.com/2-fdwhandler.patch)
  download | inline diff:
diff --git a/doc/src/sgml/fdwhandler.sgml b/doc/src/sgml/fdwhandler.sgml
index 4cd79f3..9137a96 100644
--- a/doc/src/sgml/fdwhandler.sgml
+++ b/doc/src/sgml/fdwhandler.sgml
@@ -854,7 +854,7 @@ void
 EndDirectModify (ForeignScanState *node);
 </programlisting>
 
-     Clean up following a direc modification on the remote server.  It is
+     Clean up following a direct modification on the remote server.  It is
      normally not important to release palloc'd memory, but for example open
      files and connections to the remote server should be cleaned up.
     </para>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: A typo in fdwhandler.sgml
@ 2016-07-12 17:32  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  parent: Alexander Law <exclusion@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2016-07-12 17:32 UTC (permalink / raw)
  To: Alexander Law <exclusion@gmail.com>; pgsql-docs; +Cc: rhaas@postgresql.org

On 7/11/16 12:57 PM, Alexander Law wrote:
> There is a typo in fdwhandler.sgml. Patch attached.

Fixed.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [PATCH] Document nchar data type alias
@ 2024-05-05 00:15  Erik Wienhold <ewie@ewie.name>
  0 siblings, 0 replies; 3+ messages in thread

From: Erik Wienhold @ 2024-05-05 00:15 UTC (permalink / raw)

Also mention that we support national character string constants.
---
 doc/src/sgml/datatype.sgml | 6 +++---
 doc/src/sgml/syntax.sgml   | 7 +++++++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index 6646820d6a..3063b7e2cb 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -1234,9 +1234,9 @@ SELECT '52093.89'::money::numeric::float8;
 
    <para>
     The type name <type>varchar</type> is an alias for <type>character
-    varying</type>, while <type>bpchar</type> (with length specifier) and
-    <type>char</type> are aliases for <type>character</type>.  The
-    <type>varchar</type> and <type>char</type> aliases are defined in the
+    varying</type>, while <type>bpchar</type> (with length specifier),
+    <type>nchar</type>, and <type>char</type> are aliases for <type>character</type>.
+    The <type>varchar</type> and <type>char</type> aliases are defined in the
     <acronym>SQL</acronym> standard;  <type>bpchar</type> is a
     <productname>PostgreSQL</productname> extension.
    </para>
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index 4dfbbd0862..6579b2908a 100644
--- a/doc/src/sgml/syntax.sgml
+++ b/doc/src/sgml/syntax.sgml
@@ -334,6 +334,13 @@ SELECT 'foo'      'bar';
      by <acronym>SQL</acronym>; <productname>PostgreSQL</productname> is
      following the standard.)
     </para>
+
+    <para>
+     <productname>PostgreSQL</productname> also accepts national character
+     string constants (<literal>n'sample'</literal>) for compliance with
+     the <acronym>SQL</acronym> standard.  Those are essentially the same as
+     regular string constants.
+    </para>
    </sect3>
 
    <sect3 id="sql-syntax-strings-escape">
-- 
2.45.0


--p4x73ewzxxrnlijb--





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-05-05 00:15 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-07-11 16:57 A typo in fdwhandler.sgml Alexander Law <exclusion@gmail.com>
2016-07-12 17:32 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2024-05-05 00:15 [PATCH] Document nchar data type alias Erik Wienhold <ewie@ewie.name>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox