Skip to content

Error with transactional pgv_insert/pgv_remove #27

@Fenoman

Description

@Fenoman

Here is a short example that shows the problem:

BEGIN TRANSACTION;

SELECT
    pgv_insert('test', 'x', ROW (1::int), TRUE);

--... do some actions ...

-- remove package (!!!)
SELECT
    pgv_remove('test');

--... do some other actions ...

-- Error: there is a record in the variable "x" with same key
-- But we deleted the package!!!
SELECT
    pgv_insert('test', 'x', ROW (1::int), TRUE);

COMMIT;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy