Hello, Shridhar Daithankar wrote:
> Funny thing is (just noticed while experiementing), postgresql integer and > serial have same upper limit. Serials are just enforced to be positive. So > this whole signed-vs-unsigned debate just became meaningless for postgresql, According to PostgreSQL docs (http://www.postgresql.org/docs/8.4/interactive/datatype-oid.html): "The oid type is currently implemented as an unsigned four-byte integer." There is nothing about upper limit, so your observations might relate to undocumented implementation details. > does it make any difference for soci if I use int64_t instead of long long? They might or might not be the same type, in which case your code will not compile (unless you apply a user conversion, as already discussed). Regards, -- Maciej Sobczak * www.msobczak.com * www.inspirel.com ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
