| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart) |
| Cc: | olly(at)lfix(dot)co(dot)uk, pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | Re: [HACKERS] latest snapshot crashes backend |
| Date: | 1998-11-04 17:10:25 |
| Message-ID: | 199811041710.MAA12146@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> > The attached commands crash the backend, which exits with status 11.
>
> tgl=> select * from x where not (i is null or c is null);
> i|c
> -+-
> 1|T
> 2|A
> 0|T
> (3 rows)
>
> tgl=> select * from x where not (i is null and c is null);
> pqReadData() -- backend closed the channel unexpectedly.
>
> So, let's try rewriting it as a workaround:
>
> tgl=> select * from x where (not i is null) or (not c is null);
> pqReadData() -- backend closed the channel unexpectedly.
>
> Oops. For some reason the NOT/AND is fatal, while NOT/OR is OK. That's
> not so good. The good news is that it will certainly be repairable with
> patches.
>
Care to give us a table:
select * from pg_shadow where (usesysid is null and oid is null)\g
--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas G. Lockhart | 1998-11-04 17:37:34 | Re: [HACKERS] Warning!! |
| Previous Message | A James Lewis | 1998-11-04 17:03:57 | Re: [HACKERS] Warning!! |