Re: [pgadmin-support] Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables

2010-11-17 Thread Dan Shoubridge
>>Dan, >> Ok, I understand and it's a shame the vars aren't strong typed. It's little things like that that make me want SQL Server back. It doesn't seem like a big thing to some people, but for a lot of developers the amount of work added by this when debugging sql adds up over time. >I know it'

Re: [pgadmin-support] Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables

2010-11-17 Thread Dan Shoubridge
>Le 16/11/2010 23:26, Guillaume Lelarge a écrit : >> Le 16/11/2010 14:01, Dan Shoubridge a écrit : >>>>>> Originally from SQL Server background, there is one feature that I >>>>>> am missing and would save developers hours of time. >>>&g

Re: [pgadmin-support] Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables

2010-11-16 Thread Dan Shoubridge
t; > And? I don't see why pgscript can't do that. The example you give is certainly doable with pgscript. > > Just for the record, the above script looks like this in pgscript: > > declare @x; > > set @x = 'abc'; > > select * from sometable where somefield = &

Re: [pgadmin-support] Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables

2010-11-16 Thread Dan Shoubridge
> > Le 16/11/2010 13:14, Dan Shoubridge a écrit : > > > Originally from SQL Server background, there is one feature that I > > > am missing and would save developers hours of time. > > > > > > In SQL Server I could copy sql code out of an applicat

[pgadmin-support] Feature Request for Debugging SQL in PGAdmin3 when SQL contains variables

2010-11-16 Thread Dan Shoubridge
Originally from SQL Server background, there is one feature that I am missing and would save developers hours of time. In SQL Server I could copy sql code out of an application and paste it into SSMS, declare & assign vars that exist in the sql and run - great debugging scenario. e.g. (please note