Grokbase
Topics Posts Groups | in
x
[ help ]

Tabor Kelly (p...@dsl-only.net)

Profile | Posts (2)

User Information

Display Name:Tabor Kelly
Partial Email Address:p...@dsl-only.net
Posts:
2 total
1 in PostgreSQL - General
1 in PostgreSQL - Interfaces

2 Most Recent

1) Tabor Kelly NULL feilds and ERROR messages from libpq++
| +1 vote
I am using the libpq++ interface to interact with a table that has some NULL fields in it. Why is...
PostgreSQL - General
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
I am using the libpq++ interface to interact with a table that has
some NULL fields in it. Why is it that every time I do a
PgDatabase::GetValue on a field that has a NULL value, I get an error
message printed to my console ("PQgetvalue: ERROR! tuple number 0 is
out of range 0..-1")? Is this the normal behavior? It seems very odd
that it would be, since it is common to interact with tables that
contain NULL fields.

Thank You,

Tabor Kelly
2) Tabor Kelly NULL feilds and ERROR messages from libpq++
| +1 vote
Okay, I need to generate e-mails based on a table that may or may not have certain fields that are...
PostgreSQL - Interfaces
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Okay, I need to generate e-mails based on a table that may or may not
have certain fields that are null. Why is it that every time I do a
PgDatabase::GetValue on a field that has a null value, I get an error
message printed to my console ("PQgetvalue: ERROR! tuple number 0 is
out of range 0..-1")? Is there a way to turn this off? If
not, what is a good work-around?

Thank You,

Tabor Kelly

spacer
Profile | Posts (2)
Home > People > Tabor Kelly