UniqueVision / plpgsql-lsp

MIT License
51 stars 11 forks source link

Parameter values in INSERT #61

Open danicc097 opened 2 years ago

danicc097 commented 2 years ago

Is your enhancement related to a problem? Please describe.

Currently, statement parameters are replaced with null. This is fine for most statements as far as I can tell but will cause issues in INSERTs when inserting into a non-nullable column.

Posting this here in case you have some ideas on the feasibility of either:

For now I'm simply ignoring inserts altogether so it's not that big an issue:

image

Describe the solution you would like

Describe alternatives you have considered

Additional context