Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Log level to notice #1607

Closed
Closed
@AntoniJakubiak

Description

@AntoniJakubiak

Hello,

Currently, PGML functions are usingINFO log level.
There are several problems with this.

The most important, is thatINFO level logs cannot be disabled by settingclient_min_message.
https://www.postgresql.org/docs/current/runtime-config-client.html

INFO level messages are always sent to the client.

Could you please change the log level toNOTICE?

The root of the problem lies PostgreSQL SQLX driver, here:
launchbadge/sqlx@53766e4
In version 0.7.* the structureFields contains theoffset: u16 - and offset (notice) could be longer theu16 which sometimes occurs inpgml.train function.

/// An iterator over each field in the Error (or Notice) response.struct Fields<'a> {    storage: &'a [u8],<    offset: u16, >   offset: usize,}

It seems, it was fixed in SQLX 0.8.1.

But still, it is better to send not mandatory data on the NOTICE level.

Kind regards
Antoni Jakubiak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp