General Bug Report: Receive incomplete string

From: Unprivileged user <nobody>
To: pgsql-bugs(at)postgresql(dot)org
Subject: General Bug Report: Receive incomplete string
Date: 1999-05-27 13:43:43
Message-ID: 199905271343.JAA95035@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Edison Figueira
Your email address : edison(at)brc(dot)com(dot)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:
---------

--------------------------------------------------------------------------

Browse pgsql-bugs by date

  From Date Subject
Next Message Unprivileged user 1999-05-27 18:30:20 General Bug Report: Server hangs, with backends still running on accept() failure
Previous Message Bruce Momjian 1999-05-26 19:35:07 Re: [BUGS] General Bug Report: Correction: pg_dump sets quotes wrong when dumping groups-acls.