× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ivangron reported 2012-12-13T18:33:10Z  · tariqrahiman last modified 2012-12-24T18:43:47Z

greenplum -> triggers -> extraction -> missing schema from object...


Dev
Fun Fun
funfun
QA
Tariq Rahiman
tariqrahiman
Priority Major
Complexity Unknown
Component App - General
Version 13.0
Under database ivan in schema ivan, I created the following trigger function and trigger on table "ivan"."datatypes"
 
CREATE FUNCTION normal_cdf() 
  RETURNS trigger
  AS '/usr/local/greenplum-db-4.2.1.2/ports/greenplum/4.2/lib/libmadlib.so'
  LANGUAGE C
  IMMUTABLE
 
CREATE TRIGGER datatypes_trig
  AFTER INSERT OR UPDATE OR DELETE
  ON "ivan"."datatypes"
  FOR EACH STATEMENT EXECUTE PROCEDURE normal_cdf()
 
If you take a look at the extraction and code creation of the trigger you will notice that its missing the objects schema so the script create fails to reate the correct DDL statement that looks like this:
CREATE TRIGGER "guiTrigtest"
AFTER INSERT OR UPDATE OR DELETE ON datatypes FOR EACH STATEMENT
EXECUTE PROCEDURE normal_cdf()
GO
 
Notice that the object in red is missing its schema.  ExtractTrigger.java line 496 is putting together this statement, should qualify the object with its schema.

 

Issue #8069

Closed
Fixed
Resolved 2012-12-13T23:59:15Z
 
 
Completion
No due date
Fixed Build trunk/30611
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017