Thread

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. libpq: Add support for dumping SSL key material to file

  1. [PATCH 1/4] Quote file names in recently introduced error messages

    Kyotaro Horiguchi <horikyota.ntt@gmail.com> — 2025-04-04T02:30:12Z

    Add missing quotes around file names in the messages added by
    recent commit 2da74d8d640.
    ---
     src/interfaces/libpq/fe-secure-openssl.c | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/interfaces/libpq/fe-secure-openssl.c b/src/interfaces/libpq/fe-secure-openssl.c
    index 4bfd8e0447c..78f9e84eb35 100644
    --- a/src/interfaces/libpq/fe-secure-openssl.c
    +++ b/src/interfaces/libpq/fe-secure-openssl.c
    @@ -711,7 +711,7 @@ SSL_CTX_keylog_cb(const SSL *ssl, const char *line)
     
     	if (fd == -1)
     	{
    -		libpq_append_conn_error(conn, "could not open ssl keylog file %s: %s",
    +		libpq_append_conn_error(conn, "could not open ssl keylog file \"%s\": %s",
     								conn->sslkeylogfile, pg_strerror(errno));
     		return;
     	}
    @@ -719,7 +719,7 @@ SSL_CTX_keylog_cb(const SSL *ssl, const char *line)
     	/* line is guaranteed by OpenSSL to be NUL terminated */
     	rc = write(fd, line, strlen(line));
     	if (rc < 0)
    -		libpq_append_conn_error(conn, "could not write to ssl keylog file %s: %s",
    +		libpq_append_conn_error(conn, "could not write to ssl keylog file \"%s\": %s",
     								conn->sslkeylogfile, pg_strerror(errno));
     	else
     		rc = write(fd, "\n", 1);
    -- 
    2.43.5
    
    
    ----Next_Part(Fri_Apr__4_12_03_28_2025_546)--
    Content-Type: Text/X-Patch; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment;
     filename="0002-Quote-file-names-in-an-exising-WARNING-message.patch"