liquid-labs / liquid-labs/catalyst-sql

Revisit client-side prepared statements.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A prior prototype that predated the use of go-pg included a 'warm up' phase which would initialize common prepared statements. Postgres will cache prepared statements server-side automatically, but it save some traffic to explicitly create DB client-side statements.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current go-pg/Postgres setup and the prior prototype's warm-up phase, then identify which common prepared statements would be initialized client-side. Done requires a settled scope for the statements to create and evidence that the revised approach reduces unnecessary traffic without breaking SQL CRUD behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.