|
|||||||||||
|
Re: [JDBC] TypeInfoCache
From: Gregory Stark <stark(at)enterprisedb.com>
Date: Tue Jan 08 2008 - 07:16:26 EST
> What would be the problem with this? text fields ARE memo fields. Use Well if I understand correctly memo fields are much less functional than text fields. In short the mapping between Postgres types and types of other databases is imperfect and what type is the closest match will depend on which properties are most important. IIUC memo fields cannot be used in queries the way text fields can, passed to functions, and stored in variables etc. The ability to not declare a length constraint is a fairly minor distinguishing property that doesn't impact the application much. >> Perhaps this is all just FUD though. Sure, but that doesn't mean tools will make the right decision. It'll be positively weird for a tool to provide a different set of options to the user if it sees a text field rather than a varchar for example since in Postgres they're almost exactly equivalent. >> I haven't seen such a case myself. I was Right, searching for LONGVARCHAR isn't going to find problems since it's not the way Postgres worked in the past. Perhaps searching for "memo" or "lob" or something like that might work. But I'm being unfair, I guess I have to do this search myself if I still think there's a problem :) -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training! ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqReceived on Tue Jan 8 07:18:24 2008 This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:17 EDT |
||||||||||
|
|||||||||||