Re: An XSLT example script

2020-04-23 Thread Tom Lane
have bothered with back-patching on the grounds of "it's unimportant" ... but now that it's done, I wouldn't revert it, on the same grounds. regards, tom lane

Re: [PATCH] Clarified websearch_to_tqsuery syntax in textsearch.sgml

2020-04-26 Thread Tom Lane
Pavel Borisov writes: > This patch little bit clarifies parsing of operators websearch_to_tqsuery() > function I pushed a version of this. Thanks for noticing the omission. regards, tom lane

Rendering pi more nicely in PDF

2020-04-26 Thread Tom Lane
apparently that entity isn't loaded yet.) regards, tom lane diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index b0afaeb..fdbd4a0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1365,7 +1365,7 @@ repeat('Pg', 4) P

Re: Rendering pi more nicely in PDF

2020-04-27 Thread Tom Lane
Alexander Lakhin writes: > 26.04.2020 22:13, Tom Lane wrote: >> Use of a new processing-instruction might not be the most elegant >> way to do this ... anyone have a better suggestion? > I would use the phrase tag, which is intended for such uses: [1] [2]. Good idea, don

Re: Rendering pi more nicely in PDF

2020-04-27 Thread Tom Lane
Alexander Lakhin writes: > 27.04.2020 18:04, Tom Lane wrote: >> BTW, I tried to also use this markup inside the template for >> , so we'd only need one font-switching special case not two. >> Didn't work though --- apparently templates don't get applied

Re: pg_restore dbname

2020-04-29 Thread Tom Lane
W, the behavior in this area changed a bit in v11, so be careful you are reading docs that correspond to the pg_restore version you are using. I don't think this specific thing changed, but the overall division of labor between pg_dump and pg_dumpall changed. regards, tom lane

Re: Rendering pi more nicely in PDF

2020-04-29 Thread Tom Lane
Peter Eisentraut writes: > On 2020-04-26 21:13, Tom Lane wrote: >> "π" renders poorly in our PDF docs: as shown in the attached >> screenshot, it doesn't line up on the baseline. > The real problem here is that the default font (Times or Times New > Roman)

Re: Rendering pi more nicely in PDF

2020-04-29 Thread Tom Lane
Peter Eisentraut writes: > On 2020-04-29 21:58, Tom Lane wrote: >> I think making the built documentation depend on nonstandard fonts >> is a truly awful idea. It'd be okay perhaps if the requirement only >> applied to people building the docs, but won't the requ

Re: adding a TOC to the psql reference page

2020-04-30 Thread Tom Lane
ill happen in man-page-format output. regards, tom lane

Another modest proposal for docs formatting: catalog descriptions

2020-05-04 Thread Tom Lane
p would be closely modeled on what we did for function-table entries. Thoughts? regards, tom lane [1] https://www.postgresql.org/docs/devel/catalog-pg-attrdef.html

Re: minor rewording in ceil(), ceiling() and floor() function descriptions

2020-05-04 Thread Tom Lane
isinclined to go back. In this particular area, I think Matlab's precedent is at least as strong as Wikipedia's. regards, tom lane

Re: Another modest proposal for docs formatting: catalog descriptions

2020-05-05 Thread Tom Lane
ed any change except for addition of the "(references ...)" text. regards, tom lane

Re: Documentation - chapter 52, system catalogs

2020-05-05 Thread Tom Lane
, instead of having it in front of the chapter preface? The same issue exists for the sub-sub-tables-of-contents for s, though it's less bad because few of those have grown enormous lists of 's. regards, tom lane

Re: JSON function docs page broken in HEAD

2020-05-06 Thread Tom Lane
ay it's looked in the past, but I don't immediately see anything there that's not per the new design. regards, tom lane

Re: Logical replication subscription owner

2020-05-07 Thread Tom Lane
u also need CONNECT on the DB you want to connect to. regards, tom lane

Re: Logical replication subscription owner

2020-05-09 Thread Tom Lane
has LOGIN defined. ISTM those statements are contradictory. The two privileges could only be called orthogonal if it's possible to make use of one without having the other. As things stand, REPLICATION without LOGIN is an entirely useless setting. regards, tom lane

Re: Another modest proposal for docs formatting: catalog descriptions

2020-05-09 Thread Tom Lane
ntation is (it looks like) the same as we are using in s, which this layout is based on. regards, tom lane

Re: Logical replication subscription owner

2020-05-09 Thread Tom Lane
Stephen Frost writes: > * Tom Lane (t...@sss.pgh.pa.us) wrote: >> ISTM those statements are contradictory. The two privileges could >> only be called orthogonal if it's possible to make use of one without >> having the other. As things stand, REPLICATION without LOGIN

Re: Another modest proposal for docs formatting: catalog descriptions

2020-05-10 Thread Tom Lane
d be too embarrassed to show anybody the code though ;-) ... it was just a brute force hack. regards, tom lane catalog-reformat.patch.gz Description: catalog-reformat.patch.gz --- main.css~ 2020-05-10 12:18:39.773129302 -0400 +++ main.css 2020-05-09 21

Remaining PDF layout issues

2020-05-10 Thread Tom Lane
_DEFAULT_TRANSFORM_GROUP" are keywords at all. We could do something with spanspec or morerows to give those specific keywords extra space, but it would look weird in renderings where there's plenty of room anyway. We're within hailing distance of zero "exceeds the available area" warnings, so I'd like to get these things resolved. Comments, better ideas? regards, tom lane

Getting rid of "Unresolved ID reference" in PDF builds

2020-05-10 Thread Tom Lane
355,9 @@ SELECT format('Testing %3$s, %2$s, %s', 'one', 'two', 'three'); - + - + encode encode ( bytes bytea, so I propose doing that. regards, tom lane

Re: Remaining PDF layout issues

2020-05-11 Thread Tom Lane
uding the "type" part). BTW, for the purposes of this patch I just abused the func_table_entry/func_signature role values. We could invent new ones, but I'm not sure if it's worthwhile for just one table. regards, tom lane diff --git a/doc/src/sg

Re: Remaining PDF layout issues

2020-05-11 Thread Tom Lane
oing it that way. I think this might be a better answer, although it's still subject to problems if anyone's logorrhea gets any worse in naming wait conditions: "SerializablePredicateLockListLock" is still going to force manually tweaking the column widths. I sorted

Re: The suggestion of reducing autovacuum_vacuum_cost_delay should be documented

2020-05-12 Thread Tom Lane
ion N-minus-several. Certainly, whatever testing was done to justify the new default wouldn't have been done on old versions; and there might have been relevant changes. In short: nope, I'm not on board with blindly back-patching such recommendations. regards, tom lane

Re: The suggestion of reducing autovacuum_vacuum_cost_delay should be documented

2020-05-12 Thread Tom Lane
y point was just that changing the back-branch documentation would require doing additional testing to verify that the proposed value is an improvement in those branches. regards, tom lane

Re: The order of columns about WAL activity in pg_stat_statements

2020-05-13 Thread Tom Lane
hose columns in a consistent > with the view definition. Patch attached. Thought? I already fixed this in my pending patch to restructure the catalog docs [1]. regards, tom lane [1] https://www.postgresql.org/message-id/14810.1589128043%40sss.pgh.pa.us

Re: Another modest proposal for docs formatting: catalog descriptions

2020-05-13 Thread Tom Lane
commit and get it out in the wild. > ...and so I did. Committed[1]. Thanks, I'll push the docs change in a bit. regards, tom lane

Re: Adding xreflable

2020-05-15 Thread Tom Lane
f page as such. regards, tom lane

Re: Adding xreflable

2020-05-15 Thread Tom Lane
Bruce Momjian writes: > On Fri, May 15, 2020 at 09:37:30AM -0400, Tom Lane wrote: >> Why? Our convention generally is to refer to the command, not to the ref >> page as such. > Uh, for the release notes, I am referencing the doc page about the > feature, and without the xr

Re: Adding xreflable

2020-05-15 Thread Tom Lane
7;t seem to need this.) regards, tom lane

Re: non-string or non-string

2020-05-17 Thread Tom Lane
window is... but the way it's supposed to be read is string || non-string or non-string || string The devel version of the docs forces the two cases to be on separate lines, which hopefully will stem the confusion. regards, tom lane

Re: 11.7 Indexes on Expressions: editorial correction

2020-05-19 Thread Tom Lane
on muddying an existing example with an unrelated comment. regards, tom lane

Re: descriptions of pg_stat_user_functions and pg_stat_slru

2020-05-19 Thread Tom Lane
se I added some text about the pg_stat_slru view and just automatically added it above the table, not noticing that that wasn't what the surrounding stuff did. regards, tom lane

Re: descriptions of pg_stat_user_functions and pg_stat_slru

2020-05-20 Thread Tom Lane
by adding ? OK by me --- that, too, would be more like the existing catalogs chapter. regards, tom lane

Re: descriptions of pg_stat_user_functions and pg_stat_slru

2020-05-20 Thread Tom Lane
Fujii Masao writes: > On 2020/05/20 22:32, Tom Lane wrote: >> OK by me --- that, too, would be more like the existing catalogs >> chapter. > Yeah, so I'd like to propose the attached patch. Hmmm ... I'm not exactly convinced about sticking xreflabels onto the s as y

Re: ERROR: (host) should be replaced by (hostnogssenc).

2020-05-24 Thread Tom Lane
s "hosts that MUST use non-encrypted connections". If that were actually a useful option, maybe it would be worth lengthening this description to mention all three options ... but it seems OK as-is to me. regards, tom lane

Re: Get original view definition without modification

2020-05-29 Thread Tom Lane
rwise.) If you really want the original text, best bet is to keep your schema creation commands in a VCS or the like, outside the database. regards, tom lane

Re: Minor result error in binary strings documentation

2020-05-30 Thread Tom Lane
_output = hex, but I don't plan to retrofit the older branches that way. regards, tom lane

Re: Another modest proposal for docs formatting: catalog descriptions

2020-06-01 Thread Tom Lane
don't look like the view tables, since the info they are presenting is fundamentally different. I don't honestly see much wrong with the way it is now. regards, tom lane

Re: Not using suppress_redundant_updates_trigger in sql-createtrigger.html#examples

2020-06-16 Thread Tom Lane
d making that an actual link would be a good idea). regards, tom lane

Re: Not using suppress_redundant_updates_trigger in sql-createtrigger.html#examples

2020-06-16 Thread Tom Lane
lt-in trigger functions that can be used to solve common problems without having to write your own trigger code. See Section 9.28. This would have the advantage of covering the other built-in triggers not only suppress_redundant_updates_trigger. regards, tom lane

Re: Not using suppress_redundant_updates_trigger in sql-createtrigger.html#examples

2020-06-16 Thread Tom Lane
Bruce Momjian writes: > OK, I didn't think there was enough desire to put it its own paragraph, > but I like the idea of mentioning all of the trigger functions; patch > attached. This one WFM. regards, tom lane

Re: PGTYPESinterval_free should be instead PGTYPESinterval_new in example.

2020-06-16 Thread Tom Lane
anks for the report! regards, tom lane

Re: wrong output column title in example

2020-06-25 Thread Tom Lane
pushing further back.) regards, tom lane

Re: missing epoch timestamps literals in examples

2020-07-08 Thread Tom Lane
(1 row) regards, tom lane

Re: initdb - creating clusters

2020-07-11 Thread Tom Lane
8.6 by my count. That seems very repetitive; but it would have the advantage that people could hardly miss it. I do agree that we ought to do something here. I think only a small minority of users build their own Postgres installations anymore. regards, tom lane d

Re: initdb - creating clusters

2020-07-11 Thread Tom Lane
Daniel Gustafsson writes: >> On 11 Jul 2020, at 23:36, Tom Lane wrote: >> + For example, there may be special scripts for creating a database >> + cluster. There almost certainly will be a mechanism for starting >> + the server, > Aren't we really talkin

Re: TIMESTAMP

2020-07-13 Thread Tom Lane
gt; FLOAT8 '7.3' > and that is accepted as well. IIRC, the SQL standard only defines this syntax for certain types such as TIMESTAMP and INTERVAL; but Postgres allows it for any type name. regards, tom lane

Re: docs: psql and variable interpolation

2020-07-15 Thread Tom Lane
ng, which acts like WHOLE_LINE if the argument starts with "|" (and otherwise is normal AFAICS). That's used by \g, \gx \o \w regards, tom lane

Re: UTF8 conversion

2020-07-25 Thread Tom Lane
box isn't the right place for this kind of support, and I seriously doubt that there's any bug here either. Please send more detail to the pgsql-general mailing list, and we'll see if we can work this out. regards, tom lane

Re: Table Partitioning

2020-07-30 Thread Tom Lane
oss of functionality. regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-03 Thread Tom Lane
on't think it's a clerical error, but certainly showing these operators this way is none too helpful. Perhaps including the input types in this table (and its siblings elsewhere) would be a good thing. (Looking at these, I'm reminded anew that the sort ordering used by \dAo is still questionable ...) regards, tom lane

Re: typo in sentence

2020-08-04 Thread Tom Lane
other, it is recommended to put them into separate databases. regards, tom lane

Re: obsolete indexing method "rtree"

2020-08-05 Thread Tom Lane
her it's even still relevant for GiST indexes. Perhaps it's talking about a deficiency that was specific to the old rtree code. regards, tom lane

Re: json_populate_record

2020-08-13 Thread Tom Lane
rrect note among the various > possibilities more difficult. Yeah, that used to be pretty unreadable. I think the reformatting of these tables that I did for v13 helps a lot, though: https://www.postgresql.org/docs/devel/functions-json.html regards, tom lane

Re: PostgreSQL 12: Cryptic documentation

2020-08-15 Thread Tom Lane
and other minor annoyances in this page, so I'm kind of inclined to make an editorial pass over the whole thing. regards, tom lane

Inaccurate description of UNION/CASE/etc type selection

2020-08-16 Thread Tom Lane
urately. However, I'm having a hard time coming up with wording that describes this accurately without being a verbatim statement of the algorithm. (I see that I already made one attempt at improving the description, back in 07daff63c, but it's clearly still not good enough.) An

Re: Inaccurate description of UNION/CASE/etc type selection

2020-08-16 Thread Tom Lane
"David G. Johnston" writes: > On Sun, Aug 16, 2020 at 2:26 PM Tom Lane wrote: >> We had a question about why an ARRAY[] construct was resolving the >> array's type strangely [1]. > In this specific complaint it strikes me as undesirable to have an lossy > i

Re: Inaccurate description of UNION/CASE/etc type selection

2020-08-17 Thread Tom Lane
ny > point a preferred type is made a candidate then it will be chosen. So this is just a verbatim statement of the algorithm, which is what I was hoping to avoid :-(. But maybe there's no simpler way. regards, tom lane

Re: Inaccurate description of UNION/CASE/etc type selection

2020-08-17 Thread Tom Lane
"David G. Johnston" writes: > On Mon, Aug 17, 2020 at 8:31 AM Tom Lane wrote: >> So this is just a verbatim statement of the algorithm, which is what >> I was hoping to avoid :-(. But maybe there's no simpler way. > I got nothin'. Yeah, me either. So he

Re: Inaccurate description of UNION/CASE/etc type selection

2020-08-17 Thread Tom Lane
"David G. Johnston" writes: > On Mon, Aug 17, 2020 at 10:11 AM Tom Lane wrote: >> Yeah, me either. So here's a proposed patch, fixing a couple other >> things: > LGTM Pushed, thanks for review. regards, tom lane

Re: Subscript expressions do not have to evaluate to integers

2020-08-21 Thread Tom Lane
" is not an improvement over "which". Otherwise seems OK. (The proposed patch for generic subscripting will probably need to rewrite this completely, but for now this is an improvement.) regards, tom lane

Re: Minor fixes for PostgreSQL 13 documentation

2020-08-22 Thread Tom Lane
disagree with that. Wouldn't > it be better to update all of them? Yeah, probably. See 47046763c for some policy I'd made up about when to use --- typedef names definitely don't fit. regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-22 Thread Tom Lane
t the operators with their input types, maybe we should just do what the OP thought was correct and delete the duplicate operator names. It's already the case that the table isn't telling you exactly which input types the operators accept, so why not be a little bit fuzzier? regards, tom lane

Re: Add comma after e.g. and i.e.?

2020-08-25 Thread Tom Lane
't stay that way for long, because nobody else is really going to care about it. (FWIW, I generally write a comma myself. But I'm not going to cry about text that hasn't got one.) regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-25 Thread Tom Lane
en the operator names within a cell. IIRC, it's possible to do that, though the exact incantation isn't coming to mind right now. > I suppose a commit would change all the index AMs where we document this > kind of thing. Yeah, we should make all these sorts of tables consistent. regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-26 Thread Tom Lane
>(integer,integer) > >=(integer,integer) > <=(integer,integer) Hm, do we care quite that much about explaining this difference? But you're right that we hardly need the "data type" column per se when the operator column is repeating the same info. > Thanks for doing the legwork! Indeed. regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-26 Thread Tom Lane
or each opclass (its native ones, plus the applicable "loose" operators). Then we only need two columns, opclass and operators. regards, tom lane

Re: Document "59.2. Built-in Operator Classes" have a clerical error?

2020-08-27 Thread Tom Lane
think we need to stall this > patch for that, since it's a much smaller issue IMV. Yeah, I think some fooling with the column widths could improve the PDF results, but it's a minor point. regards, tom lane

Re: small clairifcation

2020-08-27 Thread Tom Lane
t; "your end of the tunnel " Hm, do you have a suggestion for better wording? regards, tom lane

Re: initdb - creating clusters

2020-08-30 Thread Tom Lane
hat anything not appearing on the same page won't get seen. regards, tom lane

Re: initdb - creating clusters

2020-09-02 Thread Tom Lane
Daniel Gustafsson writes: > On 30 Aug 2020, at 17:21, Tom Lane wrote: >> Do you have a feeling one way or the other about whether to repeat >> some of this text in each of the relevant sub-sections? I initially >> didn't want to do that, but thinking about how peopl

Re: initdb - creating clusters

2020-09-03 Thread Tom Lane
Daniel Gustafsson writes: >> On 2 Sep 2020, at 18:43, Tom Lane wrote: >> I took a stab at doing it that way, as attached. (I couldn't resist >> the temptation to do some minor editing on adjacent material, too.) > LGTM. I didn't try to build the docs with

Re: Installation instructions vs binaries

2020-09-08 Thread Tom Lane
Magnus Hagander writes: > Yeah, that makes a lot of sense. How about like this? Isn't this pretty duplicative of d2511d713? regards, tom lane

Re: Installation instructions vs binaries

2020-09-08 Thread Tom Lane
ot the top. I dunno how to do that, though.) regards, tom lane

Re: Installation instructions vs binaries

2020-09-08 Thread Tom Lane
ata directory location and one wrapper script. regards, tom lane

Re: How to interpret the salt sent in the AuthenticationMD5Password message from the server.

2020-09-16 Thread Tom Lane
#x27;m pretty sure you should incorporate verbatim in your MD5 input. The bytes are just binary data, they're not ASCII or encoded in some way. regards, tom lane

Re: Please provide examples of rows from

2020-09-19 Thread Tom Lane
can't) specify it in the query. The point of the AS feature is to allow specifying the concrete record type for record-returning functions that don't have a predefined result record type, like dblink(). I think this error text was written before we had multiple OUT parameters, so it was okay at the time; but now it needs to be more precise. regards, tom lane

Re: Please provide examples of rows from

2020-09-20 Thread Tom Lane
t * from rows from (json_to_recordset('[{"a":1,"b":"foo"},{"a":"2","c":"bar"}]') as (x int, y text), generate_series(1,3)) as x(a,b,s) ; a | b | s ---+-+--- 1 | foo | 1 2 | | 2 | | 3 (3 rows) would illustrate all the principles. regards, tom lane

Re: Please provide examples of rows from

2020-09-20 Thread Tom Lane
now it needs to be > more precise. Concretely, perhaps like the attached. I was unsurprised to find that this error condition isn't exercised in our regression tests. I added some coverage, but maybe that's overkill? regards, tom lane diff --gi

Re: Please provide examples of rows from

2020-09-20 Thread Tom Lane
Better =# select * from rows from (json_to_recordset('[{"a":1,"b":"foo"},{"a":"2","b":"bar"}]') as (a int, b text), generate_series(1,3)) as x(p,q,s); p | q | s ---+-+--- 1 | foo | 1 2 | bar | 2 | | 3 (3 rows) regards, tom lane

Re: fix typo in lo-examplesect.html

2020-09-24 Thread Tom Lane
to HEAD only, since it's so minor). Thanks! regards, tom lane

Re: Please provide examples of rows from

2020-09-24 Thread Tom Lane
dset() is instructed to return two columns, the first integer and the second text. The result of generate_series() is used directly. regards, tom lane

Re: ssl file permission

2020-09-26 Thread Tom Lane
ular reason for us to insist on changing it. >> That said, it might be a good idea to be consistent since we seem to use a >> mix of different styles of chmod. There is that. But I think the "og-rwx" style is more recommendable, if we're going to try to standardize. regards, tom lane

Re: Version 13 documentation layout is harder to read than version 12

2020-09-29 Thread Tom Lane
a shock at first if you are used to the old layout. But the developer community has been looking at this format for six months or so now, and I think people grew accustomed to it fairly quickly. regards, tom lane

Re: Version 13 documentation layout is harder to read than version 12

2020-09-29 Thread Tom Lane
we did experiment with extra vertical whitespace to separate, but abandoned that, possibly because controlling it was too painful with DocBook. regards, tom lane

Re: Version 13 documentation layout is harder to read than version 12

2020-09-29 Thread Tom Lane
'm disinclined to redesign it again right now. If people are still unhappy in a year or so, maybe there will be some appetite for a revisit. regards, tom lane

Re: Version 13 documentation layout is harder to read than version 12

2020-09-29 Thread Tom Lane
"Jonathan S. Katz" writes: > On 9/29/20 3:00 PM, Tom Lane wrote: >> But I think it's a net benefit for HTML output as well, in that the >> output does adapt much better than before to smaller window sizes. >> Not everybody wants to dedicate their whole screen

Re: Wrong parameter names for make_interval (Postgres 13)

2020-10-05 Thread Tom Lane
e others call it "from_json" or "json_in". I'm not real sure which of those names is preferable, but inconsistency is not preferable. regards, tom lane

Re: nondeterministic collations and statistics and pattern matching

2020-10-06 Thread Tom Lane
ntation should describe your unspecified reasons for not updating to 12.4? I'm afraid I'm not a telepath. regards, tom lane

Re: exceptions

2020-10-21 Thread Tom Lane
PG Doc comments form writes: > Description: > 02000 no_data > should read no_data_found Looks correct as stated to me. plpgsql's ERRCODE_NO_DATA_FOUND (P0002) is a different animal. regards, tom lane

Re: Chapter 14.1.1, small typo on costs?

2020-10-25 Thread Tom Lane
'm not quite sure. The costs are 268.19 > and 292.65, and that's about 9% more expensive? No, the comparison this has in mind is 224.79 (the indexscan on onek in the last plan) versus 200.33 (the sort on onek in the previous plan). So 12% is about right. regards, tom lane

Re: Missing directory is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html.

2020-10-27 Thread Tom Lane
ead. Looks like src/template/netbsd has an old reference too. regards, tom lane

Re: Missing directory is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html.

2020-10-27 Thread Tom Lane
Bruce Momjian writes: > On Tue, Oct 27, 2020 at 12:54:36PM -0400, Tom Lane wrote: >> The removal only happened in HEAD, so I'm unclear on why you back-patched >> this doc change? > Uh, at the top of all my branches, I typed: > ls */src/tools/thread > an

Re: Missing file is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html

2020-10-30 Thread Tom Lane
programming environment altogether. Thinking about it from the perspective of someone dealing with an installation tree not a source tree, maybe the reference should be to "server/catalog/pg_type_d.h". That might help disabuse anyone who's expecting to find it at that path in the git tree. regards, tom lane

Re: 127.0.0.1 or localhost

2020-10-30 Thread Tom Lane
e in the connection parameters. Also, it looks like there's a special case to consider 'localhost' as matching a Unix-socket connection, if the socket is in the installation's default socket directory. regards, tom lane

Re: Possible Example Error in Documentation

2020-11-05 Thread Tom Lane
umentation here: > https://www.postgresql.org/account/comments/new/12/plpgsql-transactions.html/, > the procedure is created without incident. However, when I attempt "CALL > transaction_test1();", I receive the "invalid transaction termination" > error. Hmm, it work

Re: Addition to content

2020-11-09 Thread Tom Lane
PG Doc comments form writes: > I would be helpful to add that NULLIF and COALESCE need to be of same data > type. That's not actually a correct statement ... which I guess just reinforces your point that the behavior needs to be documented. regards, tom lane

Re: Missing file is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html

2020-11-10 Thread Tom Lane
Bruce Momjian writes: > On Fri, Oct 30, 2020 at 11:09:58AM -0400, Tom Lane wrote: >> Thinking about it from the perspective of someone dealing with an >> installation tree not a source tree, maybe the reference should >> be to "server/catalog/pg_type_d.h". Tha

Re: Missing file is mentioned on page https://www.postgresql.org/docs/13/libpq-exec.html

2020-11-10 Thread Tom Lane
Bruce Momjian writes: > On Tue, Nov 10, 2020 at 06:15:29PM -0500, Tom Lane wrote: >> That is the path underneath the installation "include" directory >> at which that file will be found. > Uh, I don't see it: > $ ls -w 80 /usr/local/pgsql/inc

<    1   2   3   4   5   6   7   >