Re: [SQL] WHERE parent IN (0,-1)

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Drew Whittle <drew(at)albatross(dot)co(dot)nz>, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] WHERE parent IN (0,-1)
Date: 1999-07-29 03:27:50
Message-ID: 379FCA36.8DE4CC1F@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> >> It's a grammar problem. in_expr_nodes and not_in_expr_nodes expect
> >> the elements of the IN-list to be AexprConst ... I wonder why not
> >> a_expr instead? Might be a reduce conflict, but I bet we could at
> >> least use b_expr. Thomas, any comments?
> Indeed, there is no reduce conflict created by using a_expr, so I went
> ahead and committed it. Also tidied the list-generating code a bit.

Great. Did you fix all the places where IN (values) is allowed? I was
doing that, but will merge your fixes...

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1999-07-29 03:47:52 Re: [SQL] COALESCE() bug?
Previous Message Inform() 1999-07-29 02:35:58 Form making with psql and php.cgi