View Issue Details

IDProjectCategoryView StatusLast Update
0000144Pgpool-IIBugpublic2015-09-17 11:54
ReporterhelicopterAssigned Tot-ishii 
PriorityurgentSeveritymajorReproducibilityalways
Status assignedResolutionopen 
PlatformOSLinux-basedOS Version
Product Version 
Target VersionFixed in Version 
Summary0000144: Bug with inserting via PQexecParams
DescriptionI have bug "portalXXXXX does not exist" when I try to insert via PQexecParams.
Update and delete are fine.

pgpool-II 3.4.3.
PostgreSQL 7.4.1.
TagsNo tags attached.

Activities

helicopter

2015-08-29 02:18

reporter   ~0000561

I resolve this bug when I inserted "return 0" in begin of need_insert_lock function in pool_process_query.c and I commented "rewrite = rewrite_timestamp_insert(i_stmt, &ctx);" line in

if (IsA(stmt, InsertStmt))
{
    InsertStmt *i_stmt = (InsertStmt *) stmt;
    ctx.relname = nodeToString(i_stmt->relation);
// rewrite = rewrite_timestamp_insert(i_stmt, &ctx);
}

of rewrite_timestamp function in pool_timestamp.c

Maybe bug is located in rewrite_timestamp_insert function.

Issue History

Date Modified Username Field Change
2015-08-28 12:18 helicopter New Issue
2015-08-29 02:18 helicopter Note Added: 0000561
2015-09-17 11:54 t-ishii Assigned To => t-ishii
2015-09-17 11:54 t-ishii Status new => assigned