agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Updated VarLenTuple example
5+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Updated VarLenTuple example
@ 2006-10-01 20:14  
  0 siblings, 1 reply; 5+ messages in thread

From:  @ 2006-10-01 20:14 UTC (permalink / raw)

Hi, Thomas,


Markus Schaber wrote:
> I added the typeName parameter to receive() and input(), as I did not
> want to sacrifice the possibility handling different datatypes, which is
> present in the SQLData interface.

I now dropped that.

As we have static methods, which are defined independently of the
SQLData implementation, we can easily have two or more sets of them that
correspond to the same multi-type SQLData implementation.


Regards,
Markus

Note to self: You should really think twice before sending code.
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VarLenTuple.java
Type: text/x-java
Size: 10361 bytes
Desc: not available
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061001/a4bdcd8e/attachment.bin;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061001/a4bdcd8e/attachment-0001.bin;



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* [Pljava-dev] Updated VarLenTuple example
@ 2006-10-01 20:16  
  parent: 
  0 siblings, 1 reply; 5+ messages in thread

From:  @ 2006-10-01 20:16 UTC (permalink / raw)

Markus Schaber wrote:
> Hi, Thomas,
>
>
> Markus Schaber wrote:
>   
>> I added the typeName parameter to receive() and input(), as I did not
>> want to sacrifice the possibility handling different datatypes, which is
>> present in the SQLData interface.
>>     
>
> I now dropped that.
>
> As we have static methods, which are defined independently of the
> SQLData implementation, we can easily have two or more sets of them that
> correspond to the same multi-type SQLData implementation.
>
>   
Good. I like this version better :-)

Regards,
Thomas Hallgren





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* [Pljava-dev] Updated VarLenTuple example
@ 2006-10-01 20:33  
  parent: 
  0 siblings, 2 replies; 5+ messages in thread

From:  @ 2006-10-01 20:33 UTC (permalink / raw)

Hi, Thomas,

Thomas Hallgren wrote:

> Good. I like this version better :-)

Me too, that's why I changed it. :-)

Btw, do you have enough time to change the native C part to the new model?

I can do it, too, but I think you know that code much better, so it
might be finished earlier and with less bugs if you do it.

I'm going look at and adopt the other example code, if you like.

Btw, I think that the "UDT[]" declarations can stay as they are on the
SQL side, and just change what they do "under the hoods".

Thanks,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061001/4b4e411f/attachment.bin;



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* [Pljava-dev] Updated VarLenTuple example
@ 2006-10-01 20:58  
  parent: 
  1 sibling, 0 replies; 5+ messages in thread

From:  @ 2006-10-01 20:58 UTC (permalink / raw)

Hi, Thomas,

Markus Schaber wrote:

> I'm going look at and adopt the other example code, if you like.

It seems that only ComplexScalar actually used that functionality, the
attached patch should update it to the new model.


Thanks,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ComplexScalar.diff
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061001/46ed8e24/attachment.ksh;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061001/46ed8e24/attachment.bin;



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* [Pljava-dev] Updated VarLenTuple example
@ 2006-10-23 08:55  
  parent: 
  1 sibling, 0 replies; 5+ messages in thread

From:  @ 2006-10-23 08:55 UTC (permalink / raw)

Hi, Thomas,

Markus Schaber wrote:

> Btw, do you have enough time to change the native C part to the new model?

Did you have some time to look into it?

If not, I hope to have enought time to dive into the C code at the end
of this week, and then I can submit an all-inclusive patch.

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061023/de549b9c/attachment.bin;



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2006-10-23 08:55 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-01 20:14 [Pljava-dev] Updated VarLenTuple example 
2006-10-01 20:16 ` 
2006-10-01 20:33   ` 
2006-10-01 20:58     ` 
2006-10-23 08:55     ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox