RE: [INTERFACES] Possible error in libpg++ interface, date[time] fields. - Mailing list pgsql-interfaces

From Per Rønne
Subject RE: [INTERFACES] Possible error in libpg++ interface, date[time] fields.
Date
Msg-id B15FE41977A9D21195F00000836A4275119CCB@mars.idp.dk
Whole thread Raw
List pgsql-interfaces
My investigations show me that if null fields are present, nothing is returned. Thus fields "right" of a null field will be moved left one field.
 
I think the same mighthappen if you use varchar strings instead of fixed-length strings. If a string s is declared as char(n), and the actual size of s is 2 and n >= 2, the next field will be moved n - 2 chars to the left in the string that contains the result of the query.
 

--
Per Erik Rønne
E-mail per@idp.dk (office)
Telephone +45 32 83 63 17 (office), +45 26 16 48 10 (mobile)

 
-----Original Message-----
From: Per Rønne [mailto:per@idp.dk]
Sent: 22. april 1999 11:35
To: Per Rønne; 'pgsql-interfaces@postgresql.org'
Subject: RE: [INTERFACES] Possible error in libpg++ interface, date[time] fields.

Further experiments show that the row marks mentioned - NULL values in the row, at least NULL values in fields _before_ the field in question.
 

[SNIP the original message - article otherwise too long]

pgsql-interfaces by date:

Previous
From: José Soares
Date:
Subject: Re: [INTERFACES] Detecting existance of table
Next
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Comment in ECPG - again