Re: Arrays of Complex Types
| От | David Fetter |
|---|---|
| Тема | Re: Arrays of Complex Types |
| Дата | |
| Msg-id | 20070402201005.GD29411@fetter.org обсуждение исходный текст |
| Ответ на | Re: Arrays of Complex Types (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Arrays of Complex Types
|
| Список | pgsql-hackers |
On Fri, Mar 30, 2007 at 05:08:42PM -0400, Tom Lane wrote: > David Fetter <david@fetter.org> writes: > > After several rounds of patches, it appears that it might be easier to > > create a new typtype entry, which I'll tentatively call 'a' because it > > seems a little fragile and a lot inelegant and hard to maintain to > > have typtype='c' and typrelid=InvalidOid mean, "this is an array of > > complex types." > > Uh, wouldn't it be typtype = 'c' and typelem != 0 ? Right. The attached patch passes the current regression tests and at least to a "smoke test" level does what it's supposed to do. I'd really like to help refactor the whole array system to use 'a', tho. Cheers, D -- David Fetter <david@fetter.org> http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! Consider donating to PostgreSQL: http://www.postgresql.org/about/donate
Вложения
В списке pgsql-hackers по дате отправления: