Thread
-
General Bug Report: Receive incomplete string
Unprivileged user <nobody> — 1999-05-27T13:43:43Z
============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Edison Figueira Your email address : edison@brc.com.br Category : runtime: front-end: C Severity : serious Summary: Receive incomplete string System Configuration -------------------- Operating System : Linux 2.2.5 ELF PostgreSQL version : 6.4.2 Compiler used : gcc 2.91.66 Hardware: --------- Pentium II 233, 64 RAM, 10GB HD Versions of other tools: ------------------------ GNU make 3.77 -------------------------------------------------------------------------- Problem Description: -------------------- I receive the incomplete string when i use function PQgetvalue() in varchar type -------------------------------------------------------------------------- Test Case: ---------- ex.. the value in may field is "brconnection.psi.br" i execute this .. myvar = PGgetvalue(res,x,n); printf("%s", myvar); but receive this "brconnection.psi.X" -------------------------------------------------------------------------- Solution: --------- --------------------------------------------------------------------------