[PD] [psql] object hand-holding

Jamie Bullock jamie at postlude.co.uk
Mon Dec 10 10:32:39 CET 2007


On Sun, 2007-12-09 at 16:47 -0500, Hans-Christoph Steiner wrote:
> The "addcomma", "addsemi", "adddollar" messages are a workaround, for  
> sure, but yeah, I suppose a more pd-ish one.  I think that if SQL  
> gets submitted only on the right/cold inlet, then we would not need  
> those messages.  They might come in handy though, so they could be  
> added later.

I think we would still need 'addsemi' to act as a statement delimiter as
you showed in the subpatch of your example.

> "bang" for submit sounds good too.
> 
> As for clever hacks, I can't think of any with regexs too.  Plus from  
> my experience, clever hacks can often lead to really strange and  
> difficult bugs.  IMHO, we'd better off with something simple that  
> might be a bit harder to start on, but doesn't have odd conditions  
> that could trigger bugs.

I agree. I don't much like the idea of maintaining a list of SQL
statements for use in regex matches!

Jamie

-- 
www.postlude.co.uk





More information about the Pd-list mailing list