From: | Karel Zak - Zakkr <zakkr(at)zf(dot)jcu(dot)cz> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: Patch - Re: [HACKERS] view vs. inheritance hierarchy |
Date: | 1999-11-01 09:09:51 |
Message-ID: | Pine.LNX.3.96.991101095155.11387B-100000@ara.zf.jcu.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, 31 Oct 1999, Tom Lane wrote:
>
> That looks about like the right thing to do, but I wonder whether the
> "*" doesn't need to go *outside* the quote marks around the table name?
> Seems like it would be taken as a name character if inside...
grrr! - it is (my) novice's idiocy...
Sorry Tom, I forget that between the quote is the table name.. next time I
first test & check my patches :-) Now is it good? (I test it this time.)
Karel
*** ruleutils.c.org Mon Sep 6 00:55:28 1999
--- ruleutils.c Mon Nov 1 09:26:03 1999
***************
*** 969,972 ****
--- 969,974 ----
strcat(buf, rte->relname);
strcat(buf, "\"");
+ if (rte->inh)
+ strcat(buf, "*");
if (strcmp(rte->relname, rte->refname) != 0)
{
***************
*** 974,977 ****
--- 976,981 ----
strcat(buf, rte->refname);
strcat(buf, "\"");
+ if (rte->inh)
+ strcat(buf, "*");
}
}
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 1999-11-01 11:55:16 | Re: [HACKERS] Trigger aborted on error |
Previous Message | Andrij Korud | 1999-11-01 07:51:51 | Getting oid of just inserted record |