Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERROR: query string argument of EXECUTE is null" when the table is empty #14

Closed
useher opened this issue Dec 19, 2019 · 2 comments
Closed
Assignees

Comments

@useher
Copy link

useher commented Dec 19, 2019

If i try to initialize the versioning on an empty table the following error occurs:

`
select * from versions.pgvsinit('ne_1808.testtable');

ERROR: query string argument of EXECUTE is null
CONTEXT: PL/pgSQL function versions.pgvsinit(character varying) line 147 at EXECUTE
SQL state: 22004`

When i create content in QGIS, the initialization work as expected.
Question: Is this the intended behavior? For me, it would make more sense when a table can be versioned before content is put in, but i may be wrong with this. If this is intended, maybe a more readable message would be useful, especialliy in the QGIS-Plugin, which is often used by people with no database-knowledge.

best regards
Uwe Seher

@hdus
Copy link
Member

hdus commented Aug 6, 2020

It is not possible to set an empty table to the versioned state. In version 3.10.0 of the plugin a better error message is now displayed when trying to version an empty table.

@hdus hdus closed this as completed Aug 6, 2020
@hdus hdus reopened this Aug 6, 2020
@hdus
Copy link
Member

hdus commented Feb 22, 2021

I close tis issue. When it still exists please feel free to reopen it.

@hdus hdus closed this as completed Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants