Re: SQL user function returning list for IN clause

2009-10-16 Thread pjcoup
On Oct 16, 9:50 am, Felix wrote: [snip] > I could create a new table matching each row in b to all values of > b.bar and use that to join but that would be inefficient and very > redundant. > [snip] Is foobar(b.bar) essentially static? (I'm guessing so if you considered this as an option). If so,

Re: struct curiosity

2009-10-16 Thread pjcoup
Yes, this is basically what I expected as well. I would have expected some size that you can coax gcc to give, either 12 (as here), or 10 (with directives). Thanks to everyone for the responses! Pete On Oct 16, 4:30 am, Peter Otten <__pete...@web.de> wrote: > > I would have expected "native size

struct curiosity

2009-10-15 Thread pjcoup
Hello, I was fooling around with python's struct lib, looking on how we'd unpack some data. I was a little confused by its behavior: Python 2.5.2 (r252:60911, Jul 22 2009, 15:33:10) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2 Type "help", "copyright", "credits" or "license" for more information