Re: libpq / SQL3
От | Bruce Momjian |
---|---|
Тема | Re: libpq / SQL3 |
Дата | |
Msg-id | 200007081818.OAA17011@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: libpq / SQL3 (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
> What might be the best bet is for this translation function to return > "short" as in the spec, with the spec-defined values for the datatypes > known to the spec, and a single "UNKNOWN" value for everything else. > Apps that need to tell the difference among user-defined types could > look at either the type OID or the type name, taking a binary- > compatibility risk if they insist on using the OID in binary form > (as long as they treat it as an ASCII string they probably aren't > affected by 4 vs 8 bytes...) But a bog-standard app would never look > at either, because it's only using bog-standard datatypes, no? So you are saying map to the standard-defined values. Good idea. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: