Thread

Commits

  1. doc PG 17 relnotes: move FETCH_COUNT item, and clarify

  1. CFbot does not recognize patch contents

    Tatsuo Ishii <ishii@sraoss.co.jp> — 2024-05-12T06:50:06Z

    After sending out my v18 patches:
    https://www.postgresql.org/message-id/20240511.162307.2246647987352188848.t-ishii%40sranhm.sra.co.jp
    
    CFbot complains that the patch was broken:
    http://cfbot.cputube.org/patch_48_4460.log
    
    === Applying patches on top of PostgreSQL commit ID 31e8f4e619d9b5856fa2bd5713cb1e2e170a9c7d ===
    === applying patch ./v18-0001-Row-pattern-recognition-patch-for-raw-parser.patch
    gpatch: **** Only garbage was found in the patch input.
    
    The patch was generated by git-format-patch (same as previous
    patches).  I failed to find any patch format problem in the
    patch. Does anybody know what's wrong here?
    
    Best reagards,
    --
    Tatsuo Ishii
    SRA OSS LLC
    English: http://www.sraoss.co.jp/index_en/
    Japanese:http://www.sraoss.co.jp
    
    
    
    
  2. Re: CFbot does not recognize patch contents

    Nazir Bilal Yavuz <byavuz81@gmail.com> — 2024-05-12T09:08:47Z

    Hi,
    
    On Sun, 12 May 2024 at 09:50, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
    >
    > After sending out my v18 patches:
    > https://www.postgresql.org/message-id/20240511.162307.2246647987352188848.t-ishii%40sranhm.sra.co.jp
    >
    > CFbot complains that the patch was broken:
    > http://cfbot.cputube.org/patch_48_4460.log
    >
    > === Applying patches on top of PostgreSQL commit ID 31e8f4e619d9b5856fa2bd5713cb1e2e170a9c7d ===
    > === applying patch ./v18-0001-Row-pattern-recognition-patch-for-raw-parser.patch
    > gpatch: **** Only garbage was found in the patch input.
    >
    > The patch was generated by git-format-patch (same as previous
    > patches).  I failed to find any patch format problem in the
    > patch. Does anybody know what's wrong here?
    
    I am able to apply all your patches. I found that a similar thing
    happened before [0] and I guess your case is similar. Adding Thomas to
    CC, he may be able to help more.
    
    Nitpick: There is a trailing space warning while applying one of your patches:
    Applying: Row pattern recognition patch (docs).
    .git/rebase-apply/patch:81: trailing whitespace.
     company  |   tdate    | price | first_value | max | count
    
    [0] postgr.es/m/CA%2BhUKGLiY1e%2B1%3DpB7hXJOyGj1dJOfgde%2BHmiSnv3gDKayUFJMA%40mail.gmail.com
    
    -- 
    Regards,
    Nazir Bilal Yavuz
    Microsoft
    
    
    
    
  3. Re: CFbot does not recognize patch contents

    Tatsuo Ishii <ishii@sraoss.co.jp> — 2024-05-12T10:11:11Z

    > I am able to apply all your patches. I found that a similar thing
    > happened before [0] and I guess your case is similar. Adding Thomas to
    > CC, he may be able to help more.
    
    Ok. Thanks for the info.
    
    > Nitpick: There is a trailing space warning while applying one of your patches:
    > Applying: Row pattern recognition patch (docs).
    > .git/rebase-apply/patch:81: trailing whitespace.
    >  company  |   tdate    | price | first_value | max | count
    
    Yes, I know. The reason why there's a trailing whitespace is, I copied
    the psql output and pasted it into the docs. I wonder why psql adds
    the whitespace. Unless there's a good reason to do that, I think it's
    better to fix psql so that it does not emit trailing spaces in its
    output.
    
    Best reagards,
    --
    Tatsuo Ishii
    SRA OSS LLC
    English: http://www.sraoss.co.jp/index_en/
    Japanese:http://www.sraoss.co.jp
    
    
    
    
  4. Re: CFbot does not recognize patch contents

    Thomas Munro <thomas.munro@gmail.com> — 2024-05-15T02:54:39Z

    On Sun, May 12, 2024 at 10:11 PM Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
    > > I am able to apply all your patches. I found that a similar thing
    > > happened before [0] and I guess your case is similar. Adding Thomas to
    > > CC, he may be able to help more.
    >
    > Ok. Thanks for the info.
    
    This obviously fixed itself automatically soon after this message, but
    I figured out what happened:  I had not actually fixed that referenced
    bug in cfbot :-(.  It was checking for HTTP error codes correctly in
    the place that reads emails from the archives, but not the place that
    downloads patches, so in this case I think when it tried to follow the
    link[1] to download the patch, I guess it must have pulled down a
    transient Varnish error message (I don't know what, I don't store it
    anywhere), and tried to apply that as a patch.  Oops.  Fixed[2].
    
    [1] https://www.postgresql.org/message-id/attachment/160138/v18-0001-Row-pattern-recognition-patch-for-raw-parser.patch
    [2] https://github.com/macdice/cfbot/commit/ec33a65a877a88befc29ea220e87b98c89b27dcc
    
    
    
    
  5. Re: CFbot does not recognize patch contents

    Tatsuo Ishii <ishii@sraoss.co.jp> — 2024-05-15T04:52:42Z

    Hi Thomas,
    
    > This obviously fixed itself automatically soon after this message, but
    > I figured out what happened:  I had not actually fixed that referenced
    > bug in cfbot :-(.  It was checking for HTTP error codes correctly in
    > the place that reads emails from the archives, but not the place that
    > downloads patches, so in this case I think when it tried to follow the
    > link[1] to download the patch, I guess it must have pulled down a
    > transient Varnish error message (I don't know what, I don't store it
    > anywhere), and tried to apply that as a patch.  Oops.  Fixed[2].
    > 
    > [1] https://www.postgresql.org/message-id/attachment/160138/v18-0001-Row-pattern-recognition-patch-for-raw-parser.patch
    > [2] https://github.com/macdice/cfbot/commit/ec33a65a877a88befc29ea220e87b98c89b27dcc
    
    Thank you for looking into this. I understand the situation. BTW I
    have just posted a v19 patch [1] and cfbot took care of it nicely.
    
    [1] https://www.postgresql.org/message-id/20240515.090203.2255390780622503596.t-ishii%40sranhm.sra.co.jp
    --
    Tatsuo Ishii
    SRA OSS LLC
    English: http://www.sraoss.co.jp/index_en/
    Japanese:http://www.sraoss.co.jp