Re: [GENERAL] ecpg rejects input parameters

2015-04-09 Thread Andrew Pennebaker
Makes sense. Yes, it would be great if psql offered a flag for validating syntax. Other programming languages do this, for example, bash -n, ruby -c, and php -l. On Wed, Apr 8, 2015 at 3:53 PM, Tom Lane wrote: > Andrew Pennebaker writes: > > I can't find a relevant section

Re: [GENERAL] ecpg rejects input parameters

2015-04-08 Thread Andrew Pennebaker
Could you be more specific? I can't find a relevant section to address my specific problem: ecpg complaining when I try to check the syntax of my .sql files that use input parameters. On Wed, Apr 8, 2015 at 9:34 AM, Adrian Klaver wrote: > On 04/08/2015 07:22 AM, Andrew Pennebak

[GENERAL] ecpg rejects input parameters

2015-04-08 Thread Andrew Pennebaker
":db" Is there a flag I can give to ecpg to ignore input parameters? Is there a patch we could make to ecpg to accept input parameters? Is there another way to write my input parameters to work around this error? -- Cheers, Andrew Pennebaker www.yellosoft.us

Re: [GENERAL] Petition: Treat #!... shebangs as comments

2014-07-18 Thread Andrew Pennebaker
to use a traditional (#!/usr/bin/env psql -f) shebang. It took a few hours on irc to hack this one together. On Fri, Jul 18, 2014 at 2:28 PM, Martin Gudmundsson < martingudmunds...@gmail.com> wrote: > > 18 jul 2014 kl. 17:31 skrev Dennis Jenkins : > > On Fri, Jul 1

[GENERAL] Petition: Treat #!... shebangs as comments

2014-07-18 Thread Andrew Pennebaker
-- Cheers, Andrew Pennebaker www.yellosoft.us