Re: Type scale returned by PQfmod() 65531 for time/timestamp output parameter?

Tom Lane <[email protected]> Fri, 16 Feb 2018 10:15:52 -0500
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
Sebastien FLAESCH <[email protected]> writes:
> Would be nice however to have some clear documentation about PQfmod() in=
terpretation...
> What means exactly 65531/0xFFFB?

You could try running it through the typmodout function for the column's
datatype.  I don't offhand know of any built-in types for which that would
be a really plausible typmod, though.  Are you sure your client code isn't
mistakenly narrowing it to int16 somewhere?

			regards, tom lane