From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | sbremal(at)hotmail(dot)com |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Quoted rule identifiers (schema name) |
Date: | 2010-04-20 17:11:14 |
Message-ID: | 4BCDE032.6060405@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Le 20/04/2010 00:03, Guillaume Lelarge a écrit :
> Hi,
>
> Le 19/04/2010 17:31, sbremal(at)hotmail(dot)com a écrit :
>> [...]
>> This is the copy of the script produced in the SQL editor window upon clicking on "CREATE script" for my rule with quoted identifiers:
>>
>> -- Rule: ""EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR_INSERT_RULE" ON ACCOUNTING."EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR""
>> -- DROP RULE "EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR_INSERT_RULE" ON ACCOUNTING."EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR";
>> CREATE OR REPLACE RULE "EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR_INSERT_RULE" AS
>> ON INSERT TO "ACCOUNTING"."EMPLOYMENT_CONTRACT_ACCOUNTINGS_EDITOR" DO INSTEAD INSERT INTO ...
>>
>> What I miss:
>>
>> - the quotation mark around the schema qualifier in the "Rule: ..." and "DROP ..." lines
>
> OK, this will be simple to do. I'll add a ticket and work on this tomorrow.
>
Done (http://code.pgadmin.org/trac/ticket/170) and fix commited.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2010-04-20 20:22:31 | Re: Problem with restore |
Previous Message | Guillaume Lelarge | 2010-04-20 16:52:43 | Re: Problem with restore |