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

Aberta
#1,101 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
38/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
postgresql, rust
Domínio
database

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
2.6k
Forks
175
Merge médio
14h 16min
PRs com merge (30d)
43

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sqlpage/SQLPage

Todas as issues de sqlpage/SQLPage

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.