From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Sean Chittenden <sean(at)chittenden(dot)org>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, btober(at)seaworthysys(dot)com |
Subject: | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Date: | 2003-12-23 04:28:01 |
Message-ID: | 237.1072153681@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> ! "WHERE n.nspname NOT LIKE 'pg_temp_%%' OR\n"
You forgot that '_' is a special character for LIKE. You need some
backslashes there (4 apiece, I think).
Also, there had better be parentheses around the whole OR clause;
else I'm not sure that the precedence will work correctly if
processNamePattern plasters an AND phrase after this.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-12-23 04:30:48 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Previous Message | Bruce Momjian | 2003-12-23 04:05:10 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-12-23 04:30:48 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Previous Message | Bruce Momjian | 2003-12-23 04:05:10 | Re: [GENERAL] Temporary tables and miscellaneous schemas |