ERROR: relation "sqlpage_files" does not exist at character 15

オープン
#1,101 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
postgresql, rust
領域
database

調査の方向性

Start by reading the referenced code in src/filesystem.rs around line 235 and trace when it runs during container startup. Reproduce with PostgreSQL 14 and SQLPage 0.39.1, then check whether the query runs when the sqlpage_files table is absent. Done means the repeated startup error is explained and, if confirmed unintended, no longer appears.

索引モデルが issue の本文から書いたものです。

説明

bug waiting for response
Introduction

I have had sqlpage running with a postgres database for a long time. All functions are working fine.
I recently set up some error monitoring for the logs, and notice repeating error logs in tpostgres container from sqlpgae.

2025-11-14 11:35:59.630 [17009] ERROR:  relation "sqlpage_files" does not exist at character 15
2025-11-14 11:35:59.630 [17009] STATEMENT:  SELECT 1 from sqlpage_files WHERE last_modified >= $1 AND path = $2

I have done a thorough search of my code and do not find any sql with sqlpage_files in them.
I also searched queries that use last_modified and path and found nothing to ensure this was not because of some dynamic queries.

I noticed that these logs definitely show up if I restart the sqlpage container.
I am unsure if they also show up at other times after the initial start up of the container.

Does this code from within the container runs this sql and expects this table to exist even if there is no functionality that is looking for this table ?

Version information
  • OS : Ubuntu 22.04.5 LTS
  • Database : Postgres 14
  • SQLPage Version : 0.39.1
Additional context

All functionalities are working fine and there is no visible issue.
Only the error logs in the postgres DB is the issue.

主要言語
Rust
スター
2.6k
フォーク
175
平均マージ
14時間 16分
マージ済み PR(30日)
43

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sqlpage/SQLPage のほかの issue

sqlpage/SQLPage の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。