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, "*"); } }