The use "Postgres" in docs

2023-03-14 Thread Daniel Gustafsson
The docs use PostgreSQL and not Postgres in all but two places, which I think we should change like in the attached to be consistent. Any objections to this? -- Daniel Gustafsson postgres_title.diff Description: Binary data

Re: The use "Postgres" in docs

2023-03-14 Thread Daniel Gustafsson
> On 14 Mar 2023, at 13:55, Jonathan S. Katz wrote: > > On 3/14/23 7:31 AM, Alvaro Herrera wrote: >> On 2023-Mar-14, Daniel Gustafsson wrote: >>> The docs use PostgreSQL and not Postgres in all but two places, which I >>> think >>> we should change

Re: Mistake in documentation (PG15+)

2023-03-24 Thread Daniel Gustafsson
-99499::numeric(2, -3) as neg, 99499::numeric(2, -3) as pos; neg | pos +--- -99000 | 99000 (1 row) -- Daniel Gustafsson

Re: Misleading "For more information..." placement

2023-03-26 Thread Daniel Gustafsson
htly to something like this to make it clearer? "For more information on character sets refer to Section 24.3" > A really minor point, but it caught me off-guard. In Postgres we excel at caring about minor points, so thanks for your report! -- Daniel Gustafsson

Re: Misleading "For more information..." placement

2023-03-27 Thread Daniel Gustafsson
o report is too small to be valuable. -- Daniel Gustafsson

Re: Minor typo in 13.3.5. Advisory Locks

2023-03-31 Thread Daniel Gustafsson
ot;second query" or something like that, though. Reading this section I agree that the mix of ok/danger in the same example can be tad misleading though. Something like the attached is what I would prefer as a reader. -- Daniel Gustafsson adv_lock_limit.diff Description: Binary data

Re: Minor typo in 13.3.5. Advisory Locks

2023-03-31 Thread Daniel Gustafsson
> On 31 Mar 2023, at 14:35, Tom Lane wrote: > > Daniel Gustafsson writes: >> Reading this section I agree that the mix of ok/danger in the same example >> can >> be tad misleading though. Something like the attached is what I would prefer >> as a reader. &g

Re: Should 'sum(mvf)' read 'sum(mcv)'...?

2023-04-12 Thread Daniel Gustafsson
ces with something a bit more > spelled-out, perhaps "mcv_freqs". I was inclined to spell it out as mcv_frequencies but we use xxx_freqs elsewhere on the same page so keeping it consistent seems better. The attached does this as well as adding mcf/mcv as acronyms as previously mentioned (since they are both tagged as ). -- Daniel Gustafsson mcf_mcv.diff Description: Binary data

Re: Should 'sum(mvf)' read 'sum(mcv)'...?

2023-04-12 Thread Daniel Gustafsson
> On 12 Apr 2023, at 14:14, Tom Lane wrote: > > Daniel Gustafsson writes: >> I was inclined to spell it out as mcv_frequencies but we use xxx_freqs >> elsewhere on the same page so keeping it consistent seems better. The >> attached >> does this as well

Re: confusing positioning of notes in connection settings

2023-04-26 Thread Daniel Gustafsson
fic code for Windows. We have pq_setkeepaliveswin32() for Windows which can work on Windows 2000 and later versions based on the existence of SIO_KEEPALIVE_VALS. > Random googling suggests that TCP_KEEPCNT does exist on Windows. For Windows what you want is SIO_KEEPALIVE_VALS. -- Daniel Gustafsson

Re: confusing positioning of notes in connection settings

2023-04-26 Thread Daniel Gustafsson
> On 26 Apr 2023, at 10:18, Daniel Gustafsson wrote: > >> On 26 Apr 2023, at 08:08, Peter Eisentraut >> wrote: > >> I wonder if the notes are even true. The text for tcp_keepalives_interval >> already says that it is only supported if TCP_KEEPCNT is supporte

Re: some new glossary entries

2023-05-02 Thread Daniel Gustafsson
he acronyms list but I think it's more appropriate in > the glossary, so I moved things around a bit. +1 LGTM. + + LSN + + The other entries doesn't have a glossentry id attribute set, is the use here related to the glossentry.show.acronym param? -- Daniel Gustafsson

Re: some new glossary entries

2023-05-02 Thread Daniel Gustafsson
> On 2 May 2023, at 12:24, Alvaro Herrera wrote: > > On 2023-May-02, Daniel Gustafsson wrote: > >> + >> + LSN >> + >> + >> >> The other entries doesn't have a glossentry id >> attribute set, is the use here related to the gl

Re: Incorrect link tohttps://www.postgresql.org/docs/current/indexes-functional.html ?

2023-05-05 Thread Daniel Gustafsson
ions which are still in use, but until there is a report from a more recent version than 7.3 there isn't much cause for concern I reckon. -- Daniel Gustafsson

Re: Incorrect link tohttps://www.postgresql.org/docs/current/indexes-functional.html ?

2023-05-06 Thread Daniel Gustafsson
> On 5 May 2023, at 15:42, Tom Lane wrote: > > Daniel Gustafsson writes: >> This is actually not an error in the 7.3 docs (which we clearly wouldn't >> address) but an error in pgweb in the warning for unsupported versions; it >> assumes it can link to the same

Re: tables on pgbench man page look garbled

2023-05-09 Thread Daniel Gustafsson
tom > table layout, looks fine. Anyone feel like looking into this further? Can you post a screenshot of what it looks like? I just built the manpages from HEAD on macOS and while they report the UNSUPP error the table itself looks like I would expect it to. -- Daniel Gustafsson

Re: tables on pgbench man page look garbled

2023-05-10 Thread Daniel Gustafsson
re to maintain. Not sure what the best path going forward is, relying on in-column formatting for tables seems problematic when mandoc is used. -- Daniel Gustafsson mandoc_para_tbl.diff Description: Binary data

Re: tables on pgbench man page look garbled

2023-05-10 Thread Daniel Gustafsson
> On 10 May 2023, at 17:35, Tom Lane wrote: > > Daniel Gustafsson writes: >> I took a look at this using macOS as the initial testbed; the TLDR is that >> mandoc doesn't support macros in tables, and our single-column function >> signature tables rely on that. m

Re: tables on pgbench man page look garbled

2023-05-15 Thread Daniel Gustafsson
> On 10 May 2023, at 22:08, Daniel Gustafsson wrote: > >> On 10 May 2023, at 17:35, Tom Lane wrote: >> >> Daniel Gustafsson writes: >>> I took a look at this using macOS as the initial testbed; the TLDR is that >>> mandoc doesn't support m

Re: confusing positioning of notes in connection settings

2023-05-31 Thread Daniel Gustafsson
indows but the latter two are not. I think this is a clear improvement over the current docs. Should we call out Windows explicitly in the same way in the corresponding options in the libpq connection string param docs as well? -- Daniel Gustafsson

Re: confusing positioning of notes in connection settings

2023-06-06 Thread Daniel Gustafsson
call that out. The original gripe was about readability, but > if we think the description in the other settings is no clear enough, we can > edit it. TCP_USER_TIMEOUT is not widely available, AFAIK FreeBSD, OpenBSD and macOS do not support it yet. -- Daniel Gustafsson

Re: Move --interactive in createuser.sgml?

2023-07-04 Thread Daniel Gustafsson
habetical and grouped last, and pg_amcheck groups options by type. Whether or not an option has a short option as well as a long option is an implementation detail that I don't think should drive how we present the information to the users in order to help them find what they need. -- Daniel Gustafsson

Clarify errhint in sources.sgml

2023-07-12 Thread Daniel Gustafsson
ly spelled out further down on the page, but for anyone looking for a quick answer and not reading the whole page the current example might be misleading. -- Daniel Gustafsson errhint_example.diff Description: Binary data

Re: Clarify errhint in sources.sgml

2023-07-12 Thread Daniel Gustafsson
> On 12 Jul 2023, at 15:30, Jonathan S. Katz wrote: > > On 7/12/23 3:08 AM, Daniel Gustafsson wrote: >> It was noted in 20230712015948.byqaftt57glwk...@awork3.anarazel.de that the >> errhint example in sources.sgml isn't as helpful as it could be. errhint >> sho

Re: [PATCH] fix dead link to Homebrew

2023-07-14 Thread Daniel Gustafsson
> On 14 Jul 2023, at 14:22, Niels Bom wrote: > I found a dead link on this page: https://www.postgresql.org/download/macosx/ Thanks for your report! This was recently reported by someone else as well and we’re currently discussing on the -www mailinglist on how to address it best. ./daniel

Re: Include PostgresNIO Swift client in the Documentation

2023-08-21 Thread Daniel Gustafsson
ders will likely skim over and immediately look at the table, missing the small disclaimer. I wonder if we aren't serving our users better by removing the table and only referring to the Wiki page? Having two lists will prompt the discussion of what to include where over and over again, whi

Re: In docs there is no "Installation from Binaries" section

2023-08-21 Thread Daniel Gustafsson
think we should attempt to describe them in more detail than what we currently do. -- Daniel Gustafsson

Re: Include PostgresNIO Swift client in the Documentation

2023-08-22 Thread Daniel Gustafsson
> On 22 Aug 2023, at 05:23, Jonathan S. Katz wrote: > > On 8/21/23 10:55 AM, Jonathan S. Katz wrote: >> On 8/21/23 7:58 AM, Daniel Gustafsson wrote: >>>> On 11 Aug 2023, at 02:23, Jonathan S. Katz wrote: >>> >>>> The last time this came u

Re: Include rust as an externally maintained procedural language

2023-08-22 Thread Daniel Gustafsson
trix >>> >>> Similar to this thread[1], I wonder if we just link to the wiki from the >>> documentation, given it will be easier to maintain the list from there. >> Makes sense. > > Please see attached patch that does exactly this. It follows similar > semantics as [1]. LGTM, let's apply it along with the patch in [1] to all branches. -- Daniel Gustafsson

Re: Include PostgresNIO Swift client in the Documentation

2023-08-23 Thread Daniel Gustafsson
> On 22 Aug 2023, at 16:25, Jonathan S. Katz wrote: > > On 8/22/23 3:10 AM, Daniel Gustafsson wrote: > >> This is in line with what I imagined as well, so unless anyone thinks >> otherwise >> I will apply this and backpatch it to all branches. > > I could

Re: file-fdw and force_null

2023-09-12 Thread Daniel Gustafsson
It might be worth replacing this to make the docs more uniform, but that's for another patch (and thread), for now it's using the same syntax already present here. -- Daniel Gustafsson file_fdw_options.diff Description: Binary data

Re: file-fdw and force_null

2023-09-18 Thread Daniel Gustafsson
> On 13 Sep 2023, at 22:10, Boshomi Phenix wrote: > > Am Di., 12. Sept. 2023 um 12:25 Uhr schrieb Daniel Gustafsson > mailto:dan...@yesql.se>>: > > Considering that we don't really have the OPTIONS syntax documented in an > example, and that we reference COPY

Re: Typo/wording on https://www.postgresql.org/docs/current/catalog-pg-class.html

2023-09-20 Thread Daniel Gustafsson
lmost". While I'm not a native english speaker I do believe this wording is correct (although I guess your version would be semantically the same or very close to it). It was done in commit 83501ef4ca some 20+ years ago. -- Daniel Gustafsson

Re: Typo/wording on https://www.postgresql.org/docs/current/catalog-pg-class.html

2023-09-22 Thread Daniel Gustafsson
ather than any change of technical content. > I propose the attached. (I also modified the para's last sentence to > speak of "kind" not "type", for consistency with the relkind field name > and the rest of the para.) LGTM. -- Daniel Gustafsson

Hyperlinks for source file references

2023-09-25 Thread Daniel Gustafsson
e that we might as well sort out now what to do about that. -- Daniel Gustafsson

Re: Hyperlinks for source file references

2023-09-25 Thread Daniel Gustafsson
> On 25 Sep 2023, at 14:22, Alvaro Herrera wrote: > > On 2023-Sep-25, Daniel Gustafsson wrote: > >> This does of course present a question for the backbranches, pointing to the >> HEAD version in the docs for a previous major release isn't entirely >> accurat

Re: pg_upgrade doc uses inconsistent versions within the doc.

2023-09-27 Thread Daniel Gustafsson
od point, how is this attached patch? LGTM. -- Daniel Gustafsson

Re: Hyperlinks for source file references

2023-09-28 Thread Daniel Gustafsson
> On 27 Sep 2023, at 15:18, Peter Eisentraut wrote: > > On 25.09.23 13:09, Daniel Gustafsson wrote: >> Commit b73c3a11963 introduced xyz >> hyperlinks for files in the postgres source tree by linking to the gitweb >> interface at git.postgresql.org. This, IMO, ma

Re: Typo in PL/pgSQL trigger Example 43.4?

2023-10-09 Thread Daniel Gustafsson
's intended to be a variable or column reference than > a built-in function. Agreed, and "user" is a hard search term to use for discovering what it is. +1 for changing to current_user. -- Daniel Gustafsson

Re: Wrong link in the documentation for versions 11, 12

2023-10-25 Thread Daniel Gustafsson
docs/11/view-pg-sequences.html) is incorrect, so > I've fixed it. Patches are attached, please have a look. Thanks for the report, this is indeed incorrect. I've applied this patch to 11 and 12. -- Daniel Gustafsson

Re: Example 43.6. A PL/pgSQL Trigger Function for Maintaining a Summary Table

2023-10-26 Thread Daniel Gustafsson
book referred to for the example, we don't expect our readers to either so it seems to me that we could remove it from the example to avoid risk of confusion. Would you like to propose a patch for this? -- Daniel Gustafsson

Re: pg_isready --dbname option is broken. So it should not be in the manual

2023-10-26 Thread Daniel Gustafsson
0604%40agliodbs.com> > > Read the notes section. The notes section is pretty hidden though, I can sympathize with anyone missing it and maybe making the info a bit more visible would be good? -- Daniel Gustafsson

Re: Example 43.6. A PL/pgSQL Trigger Function for Maintaining a Summary Table

2023-10-27 Thread Daniel Gustafsson
not I think it should be backpatched all the way since it exists for all supported versions. -- Daniel Gustafsson

Re: add new acronym "AM"

2023-11-13 Thread Daniel Gustafsson
for Indexes and one for Relations. In the attached diff I propose that we add a glossary entry for Access Method (suggested better wording much appreciated) which the acronym can refer to. Being such a core concept it doesn't seem like a bad idea to explain it. -- Daniel Gustafsson am_acronym.diff Description: Binary data

Re: Missing ;

2023-11-13 Thread Daniel Gustafsson
es. No need for an apology. *All* contributions are valuable, big and small. I'll go ahead and fix this, thanks for the report! -- Daniel Gustafsson

Re: add new acronym "AM"

2023-11-13 Thread Daniel Gustafsson
> On 13 Nov 2023, at 12:20, Alvaro Herrera wrote: > > On 2023-Nov-13, Daniel Gustafsson wrote: > >> That's a fair point. It's sort of hard to refer back from the acronym list >> though since we don't have a single Access Method section but instead o

Re: Restore to a new database from a backup (.tar) generated from

2023-12-01 Thread Daniel Gustafsson
This form is not intended to be used for general questions about postgres, please use the appropriate mailinglist for this. In your case I would recomment pgsql-general. https://www.postgresql.org/list/ -- Daniel Gustafsson

Re: 'bar' shouldn't be a string in example

2023-12-19 Thread Daniel Gustafsson
_data_wrapper where fdwname='dummy'; fdwoptions -- {foo=1,drop=bar} (1 row) This has been incorrect since forever so I will backpatch this into all supported versions. -- Daniel Gustafsson

Re: 37.10.5 - outdated compiler for FreeBSD

2024-01-17 Thread Daniel Gustafsson
t, the attached diff updates the compiler and comment as per the above. Unless there are objections I'll go ahead with that. -- Daniel Gustafsson freebsd_compiler.diff Description: Binary data

Re: Missing information on '-X' in section 26.3.6.1.

2024-01-24 Thread Daniel Gustafsson
it doesn't hurt to spell out what we take for granted but a newcomer have to figure out in order to make the documentation easy to follow for new users. Something like the attached would be enough I think. -- Daniel Gustafsson pg_basebackup_X.diff Description: Binary data

Re: SQL command : ALTER DATABASE OWNER TO

2024-01-24 Thread Daniel Gustafsson
inherit the privileges of the >owning role) and able to SET ROLE to the new owning > role. > + All object privileges of the old owner are transferred to the new owner > + along with the ownership. > Doesn't seem unreasonable to me, it won't make the docs harder to read and use for experienced users while it may make them easier to follow for new users. -- Daniel Gustafsson

Incorrect grammar on ALTER EVENT TRIGGER

2024-01-24 Thread Daniel Gustafsson
login_trigger enable always trigger; ^ The attached trivial patch removes the extra keyword, which needs to be backpatched all the way down. -- Daniel Gustafsson alter_evt.diff Description: Binary data

Re: ERROR: plpython3u

2024-01-25 Thread Daniel Gustafsson
eral mailinglist or pgsql-novice list for help getting started: https://www.postgresql.org/list/ -- Daniel Gustafsson

Re: unknown option --subject

2024-02-01 Thread Daniel Gustafsson
ingle dash. Thanks for the report, I'll fix this backpatched down to 14 where it was introduced. -- Daniel Gustafsson

Re: Missed information about clientname=CN option

2024-02-01 Thread Daniel Gustafsson
> On 1 Feb 2024, at 08:35, David G. Johnston wrote: > maybe move the wording to the cert page and replace the content in > pg_hba.conf with a link to there. Leaning toward the later ATM. That sounds like the best option IMHO, care to propose a patch? -- Daniel Gustafsson

Re: Broken link

2024-02-06 Thread Daniel Gustafsson
ase notes though. While not directly to the v12 release notes, it leads to a page where the release notes are linked from which seems good enough here. This is a note on a change that happened in the oldest still supported version, with the previous behavior EOL. -- Daniel Gustafsson

Re: Broken link

2024-02-06 Thread Daniel Gustafsson
> On 6 Feb 2024, at 11:46, Alvaro Herrera wrote: > > On 2024-Feb-06, Daniel Gustafsson wrote: > >>> On 5 Feb 2024, at 22:23, PG Doc comments form >>> wrote: >> >>> This page has a link that says "See the release notes for Postgr

Re: Pathetic pedantry

2024-02-08 Thread Daniel Gustafsson
> On 7 Feb 2024, at 22:33, PG Doc comments form wrote: > [ STRATEGY [=] strategy ] ] > > ...has a superfluous ], I think? Nice catch, it sure seems like so. Will fix, thanks for the report! -- Daniel Gustafsson

Re: bgwriter_delay

2024-02-11 Thread Daniel Gustafsson
writer GUCs so it doesn't seem like an unreasonable idea. It might not help too many, but not printing it at all clearly doesn't really help anyone. -- Daniel Gustafsson

Re: Broken link in pgcrypto documentation

2024-02-13 Thread Daniel Gustafsson
is unlikely to provide more insights than what more curated sites can do. -- Daniel Gustafsson

Re: Broken link in pgcrypto documentation

2024-02-13 Thread Daniel Gustafsson
> On 13 Feb 2024, at 20:42, Tom Lane wrote: > > Magnus Hagander writes: >> On Tue, Feb 13, 2024 at 7:12 PM Daniel Gustafsson wrote: >>> However, I wonder if we aren't better off removing the "Useful Reading" >>> section >>> altog

Re: Broken link in pgcrypto documentation

2024-02-13 Thread Daniel Gustafsson
> On 13 Feb 2024, at 21:24, Magnus Hagander wrote: > > On Tue, Feb 13, 2024 at 9:08 PM Tom Lane wrote: >> >> Daniel Gustafsson writes: >>> On 13 Feb 2024, at 20:42, Tom Lane wrote: >>>> I'm a little dubious about the "Technical References

Re: [PATCH] Fix link to pg_ident_file_mappings

2024-02-20 Thread Daniel Gustafsson
> On 21 Feb 2024, at 03:24, Erik Wienhold wrote: > > The docs on pg_reload_conf() in v15, v16, and devel have an incorrect > link to pg_ident_file_mappings. The attached patch fixes that. Nice catch, will fix. -- Daniel Gustafsson

Re: incorrect order? in "D.1. Supported Features" of PostgreSQL 16 manual

2024-02-23 Thread Daniel Gustafsson
, unless Peter (on cc:) objects. -- Daniel Gustafsson f303.diff Description: Binary data

Re: incorrect order? in "D.1. Supported Features" of PostgreSQL 16 manual

2024-02-23 Thread Daniel Gustafsson
x27;t have a copy of the standard though so I'll leave it to someone who does comment. -- Daniel Gustafsson

Re: Fix analyze_sampling docs in postgres-fdw.sgml

2024-03-04 Thread Daniel Gustafsson
e changed, will fix. >> - Add a statement 'The option specified on a table overrides an option >> specified for the server.' > > I think that applies to all options. It would be better to have a general > statement to that effect at the beginning of the "Options" section. Yeah, that might be a good idead. -- Daniel Gustafsson

tools.ietf.org is decommissioned and our links are redirected

2024-04-03 Thread Daniel Gustafsson
locations. -- Daniel Gustafsson v1-0001-doc-Update-links-to-RFC-documents-to-avoid-redire.patch Description: Binary data

Re: tools.ietf.org is decommissioned and our links are redirected

2024-04-04 Thread Daniel Gustafsson
> On 3 Apr 2024, at 14:23, Magnus Hagander wrote: > > On Wed, Apr 3, 2024 at 1:18 PM Daniel Gustafsson <mailto:dan...@yesql.se>> wrote: > The tools.ietf.org <http://tools.ietf.org/> server which we use for all > RFC/BCP links in the docs has > been deco

Re: 8.14.5 jsonb subscripting

2024-04-09 Thread Daniel Gustafsson
> On 9 Apr 2024, at 16:02, Arne Sommerfelt wrote: > Thats the documentation for v16, not the version you are running. -- Daniel Gustafsson

Re: 8.14.5 jsonb subscripting

2024-04-09 Thread Daniel Gustafsson
reading for your version if Postgres: https://www.postgresql.org/docs/12/index.html -- Daniel Gustafsson

Re: 8.14.5 jsonb subscripting

2024-04-09 Thread Daniel Gustafsson
ion which the project still supports with bugfixes. -- Daniel Gustafsson

Re: psql option

2024-04-09 Thread Daniel Gustafsson
gt; > https://www.postgresql.org/docs/current/app-psql.html Nice catch, will fix. -- Daniel Gustafsson

Re: psql option

2024-04-09 Thread Daniel Gustafsson
> On 9 Apr 2024, at 18:33, Daniel Gustafsson wrote: > >> On 9 Apr 2024, at 16:05, PG Doc comments form wrote: >> >> The following documentation comment has been logged on the website: >> >> Page: https://www.postgresql.org/docs/16/app-psql.html >>

Re: tools.ietf.org is decommissioned and our links are redirected

2024-04-10 Thread Daniel Gustafsson
> On 4 Apr 2024, at 12:41, Daniel Gustafsson wrote: > >> On 3 Apr 2024, at 14:23, Magnus Hagander wrote: >> >> On Wed, Apr 3, 2024 at 1:18 PM Daniel Gustafsson > <mailto:dan...@yesql.se>> wrote: >> The tools.ietf.org <http://tools.ietf.org/> serv

Re: pg_createsubscriber: A more precise link to the initial data sync

2024-04-18 Thread Daniel Gustafsson
> On 16 Apr 2024, at 12:42, Pavel Luzanov wrote: > > Please consider a small correction of the link to the initial data > synchronization section on the pg_createsubscriber page. Agreed, that makes sense. Applied. -- Daniel Gustafsson

Re: The prompt is not displayed correctly in the example on psql page

2024-04-22 Thread Daniel Gustafsson
stdb(> FROM my_table t1 CROSS JOIN my_table t2 ORDER BY 1 DESC > testdb(> \crosstabview "A" "B" "AxB" ord > ``` That's an impressively eagle-eyed observation, it is indeed showing an open parenthesis where none is. Will fix. -- Daniel Gustafsson

Re: No documentation on how pg_ctl is installed

2024-04-23 Thread Daniel Gustafsson
gt; documentation is needed here. This sounds like a question for the Homebrew maintainers, the postgres project is not packaging postgres for Homebrew and have no insight into how they do it. -- Daniel Gustafsson

Re: The prompt is not displayed correctly in the example on psql page

2024-04-24 Thread Daniel Gustafsson
> On 22 Apr 2024, at 10:45, Daniel Gustafsson wrote: > >> On 21 Apr 2024, at 12:57, PG Doc comments form >> wrote: >> >> The following documentation comment has been logged on the website: >> >> Page: https://www.postgresql.org/docs/16/app-psql.html

Re: Avoid too prominent use of "backup" on pg_dump man page

2024-05-29 Thread Daniel Gustafsson
e schema/table in the backup file. +least one schema/table in the file to be restored. Would it make sense to use "import" in some cases instead? -- Daniel Gustafsson

Document when ssl_prefer_server_ciphers went in

2024-07-03 Thread Daniel Gustafsson
dds proper markup in the paragraph while in there). -- Daniel Gustafsson ssl_prefer_cipher.diff Description: Binary data

Re: Document when ssl_prefer_server_ciphers went in

2024-07-03 Thread Daniel Gustafsson
> On 3 Jul 2024, at 18:22, Tom Lane wrote: > > Daniel Gustafsson writes: >> In the documentation for ssl_prefer_server_ciphers we only say it's not in >> "older version" but we omit to specify it further. Since it's a fairly >> important setting

Re: Joe Hellerstein's "Looking Back at Postgres" paper

2024-07-04 Thread Daniel Gustafsson
appened in PostgreSQL since then can be found in Appendix E." While technically true, it seems a bit overpromising in a history section to refer to the release notes which are written in a very different way from the prose here (and the release notes are not even in Appendix E anymore). -- Daniel Gustafsson

Re: Document when ssl_prefer_server_ciphers went in

2024-07-04 Thread Daniel Gustafsson
> On 3 Jul 2024, at 11:49, Peter Eisentraut wrote: > > On 03.07.24 11:23, Daniel Gustafsson wrote: >> In the documentation for ssl_prefer_server_ciphers we only say it's not in >> "older version" but we omit to specify it further. Since it's a fairly >

Re: Bibliography reference redirects to a Forbiden page.

2024-07-04 Thread Daniel Gustafsson
Ports, in the > bibliography leads to a forbidden page. Does it still do that? Clicking the link leads me to the referenced paper. -- Daniel Gustafsson

Re: Joe Hellerstein's "Looking Back at Postgres" paper

2024-07-04 Thread Daniel Gustafsson
> On 4 Jul 2024, at 17:12, Tom Lane wrote: > > Daniel Gustafsson writes: >> Unrelated to that, but reading history.sgml I found this sentend at the end >> of >> the page to be sort of misleading: > >> "Details about what has happened in PostgreSQL

Re: Joe Hellerstein's "Looking Back at Postgres" paper

2024-07-04 Thread Daniel Gustafsson
> On 4 Jul 2024, at 22:22, Tom Lane wrote: > > Daniel Gustafsson writes: >> On 4 Jul 2024, at 07:40, Tom Lane wrote: >>> I happened to come across this: >>> https://arxiv.org/pdf/1901.01973 >>> I found this to be really interesting reading,

Re: A minor bug in doc. Hovering over heading shows # besides it.

2024-07-18 Thread Daniel Gustafsson
ndard the pilcrow [0] is, AFAICT from a bit of looking at other docs, commonly used for this. There is a lot of variability though so whichever we choose it will be wrong one for someone. -- Daniel Gustafsson [0] https://en.wikipedia.org/wiki/Pilcrow

Re: A minor bug in doc. Hovering over heading shows # besides it.

2024-07-18 Thread Daniel Gustafsson
> On 18 Jul 2024, at 15:49, Tom Lane wrote: > > Daniel Gustafsson writes: >> While not a standard the pilcrow [0] is, AFAICT from a bit of looking at >> other >> docs, commonly used for this. There is a lot of variability though so >> whichever we choose

Re: Typo in 15.3.4

2024-07-29 Thread Daniel Gustafsson
ight have misunderstood the grammarfrom not being a native speaker), but I'm still inclined to change since weconsistently use "result sets" in the rest of the documentation. --Daniel Gustafsson 0001-doc-Consistent-use-result-set-in-documentation.patch Description: Binary data

Re: Examples Missing

2024-08-27 Thread Daniel Gustafsson
n the description to avoid any confusion. Something like: -INSERT command. The value specified must be a +INSERT command to be nrows. The value specified must be a There are many more options without parameters named in the description though. -- Daniel Gustafsson

Re: pg_upgrade -c cannot be run if old cluster is running

2024-09-05 Thread Daniel Gustafsson
This is probably the source of your problem. IIRC, pg_upgrade > needs to be pointed at the actual old data directory, not > PGDATA=/var/lib/pgsql/10/data. Correct, pg_upgrade use the PGDATANEW and PGDATAOLD env variables for the cluster data directories. -- Daniel Gustafsson

Re: Documentation improvement patch

2024-09-06 Thread Daniel Gustafsson
for NOT NULL constraints at all, so they are not This seems mostly to be a question of taste, I don't think not-null is incorrect here. -- Daniel Gustafsson

Re: Documentation improvement patch

2024-09-10 Thread Daniel Gustafsson
laces on that same page which should be built-in rather than builtin to separate the concept from the parameter value. -- Daniel Gustafsson

PARALLEL in old syntax for CREATE AGGREGATE

2017-11-27 Thread Daniel Gustafsson
When looking at review comments on one of my patches, I noticed that commit 41ea0c23761 didn’t include the PARALLEL keyword for the old style CREATE AGGREGATE syntax. Since it is supported, and commit 59b71c6fe6c use it in a testcase, it seems reasonable to add something along the lines of the att

Re: PARALLEL in old syntax for CREATE AGGREGATE

2018-01-24 Thread Daniel Gustafsson
> On 24 Jan 2018, at 03:52, Bruce Momjian wrote: > > Robert, can you review the attached patch since it references your > commit? Thanks. Another approach is the patch in 62991614-9673-4276-99cc-6754e7a05...@yesql.se which contains a fix which allows for PARALLEL to be unquoted in the old synta

Trailing semicolons on partitioning example commands

2018-01-26 Thread Daniel Gustafsson
Is there a reason for not ending all partitioning commands with semicolons in the declarative partitioning example? https://www.postgresql.org/docs/devel/static/ddl-partitioning.html The two last commands with TABLESPACE clauses are ended with semicolons, the first three arent. Attached

Re: A simple question

2018-02-01 Thread Daniel Gustafsson
> On 01 Feb 2018, at 13:09, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.3/static/sql-keywords-appendix.html > Description: > > Hello, my client has a plethora of reserved words in their PostgreSQ

Document WaitForBackgroundWorkerShutdown and fix bgworker typo

2018-02-09 Thread Daniel Gustafsson
WaitForBackgroundWorkerShutdown() was added in 924bcf4f16d, but never documented which seems like an oversight for such a useful function. The attached patch adds this to bgworker.sgml, and also fixes what I believe are typos in the WaitForBackgroundWorkerStartup paragraph. cheers ./daniel bgw

Re: https://www.postgresql.org/download/linux/ubuntu/

2018-02-26 Thread Daniel Gustafsson
> On 26 Feb 2018, at 16:18, Indrek K wrote: > Please upgrade PostgreSQL document to latest version > https://www.postgresql.org/download/linux/ubuntu/ > Change apt-get install postgresql-9.6 > postgresql-10 The download pages are not guaranteed to always be up to date with the current release v

Re: Document WaitForBackgroundWorkerShutdown and fix bgworker typo

2018-03-01 Thread Daniel Gustafsson
> On 01 Mar 2018, at 17:46, Andres Freund wrote: > > On 2018-02-09 23:43:26 +0100, Daniel Gustafsson wrote: >> WaitForBackgroundWorkerShutdown() was added in 924bcf4f16d, but never >> documented which seems like an oversight for such a useful function. The >>

  1   2   3   >