Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: plpgsql CAS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3650 of 3877
Post > Topic >>

Re: plpgsql CASE statement - last version

by pavel.stehule@[EMAIL PROTECTED] ("Pavel Stehule") May 1, 2008 at 02:59 PM

Hello

2008/5/1 Jaime Casanova <systemguards@[EMAIL PROTECTED]
>:
> On Sat, Apr 5, 2008 at 6:57 AM, Pavel Stehule <pavel.stehule@[EMAIL PROTECTED]
>
wrote:
>> Hello
>>
>> I found some bugs when I used base_lexer, so I returned back own
>> lexer. It's only little bit longer, but simpler.
>>
>
> you really compile this one? i get a complain because
> read_sql_construct is called with 8 arguments and it should have only
> 7..

yes, I did it. 8 arguments are from EXECUTE USING patch
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y.diff?r1=1.108;r2=1.109;f=h

Pavel
..
>
> +       expr = read_sql_construct(',', K_THEN, 0, "THEN",
> +                           "SELECT ", true, true, &tok);
>
>
> gram.y: In function 'plpgsql_yyparse':
> gram.y:1697: warning: passing argument 5 of 'read_sql_construct' makes
> integer from pointer without a cast
> gram.y:1697: warning: passing argument 7 of 'read_sql_construct' makes
> pointer from integer without a cast
> gram.y:1697: error: too many arguments to function 'read_sql_construct'
>
> --
> regards,
> Jaime Casanova
> So****te de PostgreSQL
> Guayaquil - Ecuador
> Cel. (593) 087171157
>

-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
 




 1 Posts in Topic:
Re: plpgsql CASE statement - last version
pavel.stehule@[EMAIL PROT  2008-05-01 14:59:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 23:55:52 CDT 2008.