oguimbal / pg-mem

An in memory postgres DB instance for your unit tests
MIT License
1.89k stars 94 forks source link

Fix pg-mem crashes when setval has three arguments instead of two #375

Open neruchev opened 7 months ago

neruchev commented 7 months ago

The current implementation only accepts two arguments. However, in Postgres, a setval can have three arguments, and when using such queries, the pg-mem crashes.

This PR fixes this problem.

neruchev commented 6 months ago

@oguimbal Hi! Can we merge this PR?