pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgcrypto.sgml: built in -> built-in
4+ messages / 3 participants
[nested] [flat]

Commits from this thread:
  2026-08-25 cbc1e24d1b  pgcrypto: Consistent spelling of built-in
* pgcrypto.sgml: built in -> built-in
@ 2026-08-16 14:30  Erik Rijkers <er@xs4all.nl>
  0 siblings, 1 reply; 4+ messages in thread

From: Erik Rijkers @ 2026-08-16 14:30 UTC (permalink / raw)
  To: pgsql-hackers

Hi,

The documentation contains the word 'built-in' (with hyphen) more than 
200 times so let's correct the 2x 'built in' in doc/src/sgml/pgcrypto.sgml

Thanks,

Erik




inline patch 1: ./doc/src/sgml/pgcrypto.sgml (+1/-1 lines) download inline-1.patch--- ./doc/src/sgml/pgcrypto.sgml.orig 2026-08-16 16:19:51.927578666 +0200 +++ ./doc/src/sgml/pgcrypto.sgml 2026-08-16 16:21:02.867577715 +0200 @@ -1268,7 +1268,7 @@ <listitem> <para> <varname>pgcrypto.builtin_crypto_enabled</varname> determines if the - built in crypto functions <function>gen_salt()</function>, and + built-in crypto functions <function>gen_salt()</function>, and <function>crypt()</function> are available for use. Setting this to <literal>off</literal> disables these functions.
<literal>on</literal> (the default) enables these functions to work normally. @@ -1277,7 +1277,7 @@ </para> <para> <function>pgp_sym_encrypt()</function> and - <function>pgp_pub_encrypt()</function> do not use built in crypto so + <function>pgp_pub_encrypt()</function> do not use built-in crypto so they are not affected. </para> </listitem> Patches and attachments: download all (2 files, .tar.gz)
pgcrypto.sgml.20260816.diff (text/x-patch, 938B) download --- ./doc/src/sgml/pgcrypto.sgml.orig 2026-08-16 16:19:51.927578666 +0200 +++ ./doc/src/sgml/pgcrypto.sgml 2026-08-16 16:21:02.867577715 +0200 @@ -1268,7 +1268,7 @@ <listitem> <para> <varname>pgcrypto.builtin_crypto_enabled</varname> determines if the - built in crypto functions <function>gen_salt()</function>, and + built-in crypto functions <function>gen_salt()</function>, and <function>crypt()</function> are available for use. Setting this to <literal>off</literal> disables these functions. <literal>on</literal> (the default) enables these functions to work normally. @@ -1277,7 +1277,7 @@ </para> <para> <function>pgp_sym_encrypt()</function> and - <function>pgp_pub_encrypt()</function> do not use built in crypto so + <function>pgp_pub_encrypt()</function> do not use built-in crypto so they are not affected. </para> </listitem>
^ permalink raw reply [nested|flat] 4+ messages in thread

* Re: pgcrypto.sgml: built in -> built-in
@ 2026-08-16 16:21  Álvaro Herrera <alvherre@kurilemu.de>
  parent: Erik Rijkers <er@xs4all.nl>
  0 siblings, 1 reply; 4+ messages in thread

From: Álvaro Herrera @ 2026-08-16 16:21 UTC (permalink / raw)
  To: Erik Rijkers <er@xs4all.nl>; +Cc: pgsql-hackers

Hello,

On 2026-Aug-16, Erik Rijkers wrote:

> The documentation contains the word 'built-in' (with hyphen) more than 200
> times so let's correct the 2x 'built in' in doc/src/sgml/pgcrypto.sgml

Well observed.  We do have "builtin" a number of times though.  Do we
want to change those too?  For example

contrib/pgcrypto/pgcrypto.c-    DefineCustomEnumVariable("pgcrypto.builtin_crypto_enabled",
contrib/pgcrypto/pgcrypto.c:                             "Sets if builtin crypto functions are enabled.",
contrib/pgcrypto/pgcrypto.c:                             "\"on\" enables builtin crypto, \"off\" unconditionally disables and \"fips\" "
contrib/pgcrypto/pgcrypto.c:                             "will disable builtin crypto if OpenSSL is in FIPS mode",
contrib/pgcrypto/pgcrypto.c-                             &builtin_crypto_enabled,
--
contrib/postgres_fdw/deparse.c-              * If the constant has nondefault collation, either it's of a
contrib/postgres_fdw/deparse.c:              * non-builtin type, or it reflects folding of a CollateExpr.
contrib/postgres_fdw/deparse.c-              * It's unsafe to send to the remote unless it's used in a
--
contrib/postgres_fdw/option.c-      /*
contrib/postgres_fdw/option.c:       * Disallow OAuth options for now, since the builtin flow communicates
contrib/postgres_fdw/option.c-       * on stderr by default and can't cache tokens yet.
--
contrib/test_decoding/test_decoding.c- *
contrib/test_decoding/test_decoding.c: * Some builtin types aren't quoted, the rest is quoted. Escaping is done
contrib/test_decoding/test_decoding.c- * per standard SQL rules.

doc/src/sgml/jit.sgml-  <para>
doc/src/sgml/jit.sgml:   <productname>PostgreSQL</productname> has builtin support to perform
doc/src/sgml/jit.sgml-   <acronym>JIT</acronym> compilation using <ulink
--
doc/src/sgml/libpq.sgml-   installation documentation</link> for information on how to enable support
doc/src/sgml/libpq.sgml:   for Device Authorization as a builtin flow.
doc/src/sgml/libpq.sgml-  </para>


There's a bunch we should leave alone, but the ones I quote above and a
few more are less clear to me (and I suspect we should also change to
"built-in").

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/






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

* Re: pgcrypto.sgml: built in -> built-in
@ 2026-08-16 20:16  Daniel Gustafsson <daniel@yesql.se>
  parent: Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 1 reply; 4+ messages in thread

From: Daniel Gustafsson @ 2026-08-16 20:16 UTC (permalink / raw)
  To: Álvaro Herrera <alvherre@kurilemu.de>; +Cc: Erik Rijkers <er@xs4all.nl>; pgsql-hackers

> On 16 Aug 2026, at 18:21, Álvaro Herrera <alvherre@kurilemu.de> wrote:
> On 2026-Aug-16, Erik Rijkers wrote:

>> The documentation contains the word 'built-in' (with hyphen) more than 200
>> times so let's correct the 2x 'built in' in doc/src/sgml/pgcrypto.sgml
> 
> Well observed.

Ugh, that's my bad.

>  We do have "builtin" a number of times though.  Do we
> want to change those too?  For example
> 
> contrib/pgcrypto/pgcrypto.c-    DefineCustomEnumVariable("pgcrypto.builtin_crypto_enabled",
> contrib/pgcrypto/pgcrypto.c:                             "Sets if builtin crypto functions are enabled.",
> contrib/pgcrypto/pgcrypto.c:                             "\"on\" enables builtin crypto, \"off\" unconditionally disables and \"fips\" "
> contrib/pgcrypto/pgcrypto.c:                             "will disable builtin crypto if OpenSSL is in FIPS mode",
> contrib/pgcrypto/pgcrypto.c-                             &builtin_crypto_enabled,

Another one of mine =( This one should be the same as the in the docs IMHO.

> --
> contrib/postgres_fdw/deparse.c-              * If the constant has nondefault collation, either it's of a
> contrib/postgres_fdw/deparse.c:              * non-builtin type, or it reflects folding of a CollateExpr.
> contrib/postgres_fdw/deparse.c-              * It's unsafe to send to the remote unless it's used in a
> --
> contrib/postgres_fdw/option.c-      /*
> contrib/postgres_fdw/option.c:       * Disallow OAuth options for now, since the builtin flow communicates
> contrib/postgres_fdw/option.c-       * on stderr by default and can't cache tokens yet.
> --
> contrib/test_decoding/test_decoding.c- *
> contrib/test_decoding/test_decoding.c: * Some builtin types aren't quoted, the rest is quoted. Escaping is done
> contrib/test_decoding/test_decoding.c- * per standard SQL rules.

Personally I'm not to worried about spelling fixes at this level in comments,
but the risk of causing backpatching pain is low so if someone wants to do the
work then thats all good.

> doc/src/sgml/jit.sgml-  <para>
> doc/src/sgml/jit.sgml:   <productname>PostgreSQL</productname> has builtin support to perform
> doc/src/sgml/jit.sgml-   <acronym>JIT</acronym> compilation using <ulink
> --
> doc/src/sgml/libpq.sgml-   installation documentation</link> for information on how to enable support
> doc/src/sgml/libpq.sgml:   for Device Authorization as a builtin flow.
> doc/src/sgml/libpq.sgml-  </para>

+1 on these.

--
Daniel Gustafsson







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

* Re: pgcrypto.sgml: built in -> built-in
@ 2026-08-25 08:45  Daniel Gustafsson <daniel@yesql.se>
  parent: Daniel Gustafsson <daniel@yesql.se>
  0 siblings, 0 replies; 4+ messages in thread

From: Daniel Gustafsson @ 2026-08-25 08:45 UTC (permalink / raw)
  To: Álvaro Herrera <alvherre@kurilemu.de>; +Cc: Erik Rijkers <er@xs4all.nl>; pgsql-hackers

> On 16 Aug 2026, at 22:16, Daniel Gustafsson <daniel@yesql.se> wrote:
> 
>> On 16 Aug 2026, at 18:21, Álvaro Herrera <alvherre@kurilemu.de> wrote:
>> On 2026-Aug-16, Erik Rijkers wrote:
> 
>>> The documentation contains the word 'built-in' (with hyphen) more than 200
>>> times so let's correct the 2x 'built in' in doc/src/sgml/pgcrypto.sgml
>> 
>> Well observed.
> 
> Ugh, that's my bad.
> 
>> We do have "builtin" a number of times though.  Do we
>> want to change those too?  For example
>> 
>> contrib/pgcrypto/pgcrypto.c-    DefineCustomEnumVariable("pgcrypto.builtin_crypto_enabled",
>> contrib/pgcrypto/pgcrypto.c:                             "Sets if builtin crypto functions are enabled.",
>> contrib/pgcrypto/pgcrypto.c:                             "\"on\" enables builtin crypto, \"off\" unconditionally disables and \"fips\" "
>> contrib/pgcrypto/pgcrypto.c:                             "will disable builtin crypto if OpenSSL is in FIPS mode",
>> contrib/pgcrypto/pgcrypto.c-                             &builtin_crypto_enabled,
> 
> Another one of mine =( This one should be the same as the in the docs IMHO.

Since pgcrypto is its own module I pushed the pgcrypto changes for docs and GUC
on their own.

--
Daniel Gustafsson







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


end of thread, other threads:[~2026-08-25 08:45 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 14:30 pgcrypto.sgml: built in -> built-in Erik Rijkers <er@xs4all.nl>
2026-08-16 16:21 ` Álvaro Herrera <alvherre@kurilemu.de>
2026-08-16 20:16   ` Daniel Gustafsson <daniel@yesql.se>
2026-08-25 08:45     ` Daniel Gustafsson <daniel@yesql.se>

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