General Bug Report: Receive incomplete string - Mailing list pgsql-bugs

From Unprivileged user
Subject General Bug Report: Receive incomplete string
Date
Msg-id 199905271343.JAA95035@hub.org
Whole thread Raw
List pgsql-bugs
============================================================================
                        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:
---------


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


pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] General Bug Report: Correction: pg_dump sets quotes wrong when dumping groups-acls.
Next
From: Unprivileged user
Date:
Subject: General Bug Report: Server hangs,with backends still running on accept() failure