mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
I am sorry, I misinterpreted the still failing trigger regression test.
The offending code has been removed, the action is now always dependent :-) I suggest the following patch, to finally make trigger regression happy again: <<refint1.patch>> After that you can remove the following from TODO: Remove ERROR: check_primary_key: even number of arguments should be specified Trigger regression test fails Andreas
This commit is contained in:
parent
ca00c902fb
commit
1a87c14c9c
@ -3,8 +3,6 @@
|
|||||||
* constraints using general triggers.
|
* constraints using general triggers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DEBUG_QUERY 1
|
|
||||||
|
|
||||||
#include "executor/spi.h" /* this is what you need to work with SPI */
|
#include "executor/spi.h" /* this is what you need to work with SPI */
|
||||||
#include "commands/trigger.h" /* -"- and triggers */
|
#include "commands/trigger.h" /* -"- and triggers */
|
||||||
#include <ctype.h> /* tolower () */
|
#include <ctype.h> /* tolower () */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.34 1999/03/21 06:31:59 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.35 1999/05/12 12:47:24 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -108,7 +108,7 @@ aclparse(char *s, AclItem *aip, unsigned *modechg)
|
|||||||
|
|
||||||
#ifdef ACLDEBUG_TRACE
|
#ifdef ACLDEBUG_TRACE
|
||||||
printf("aclparse: input = '%s'\n", s);
|
printf("aclparse: input = '%s'\n", s);
|
||||||
#endif ACLDEBUG_TRACE
|
#endif
|
||||||
aip->ai_idtype = ACL_IDTYPE_UID;
|
aip->ai_idtype = ACL_IDTYPE_UID;
|
||||||
s = getid(s, name);
|
s = getid(s, name);
|
||||||
if (*s != ACL_MODECHG_ADD_CHR &&
|
if (*s != ACL_MODECHG_ADD_CHR &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user