Git Product home page Git Product logo

Comments (4)

sualeh avatar sualeh commented on June 11, 2024 1

@JessicaF I will fix this issue. It may need a change to the catalog model for triggers.

from schemacrawler.

sualeh avatar sualeh commented on June 11, 2024 1

@JessicaF Please use SchemaCrawler v16.21.1

from schemacrawler.

sualeh avatar sualeh commented on June 11, 2024

@JessicaF SchemaCrawler provides information from information_schema.triggers, which in your case, is simply EXECUTE FUNCTION last_updated(). The definition of public.last_updated() will be provided along with other details of the function. Please make sure that you are crawling routines also, in your code. By default, SchemaCrawler does not crawl routines.

from schemacrawler.

JessicaF avatar JessicaF commented on June 11, 2024

Thank you for your response! I've found another potential issue within the same database but for a different trigger:

CREATE TRIGGER film_fulltext_trigger
    BEFORE INSERT OR UPDATE 
    ON public.film
    FOR EACH ROW
    EXECUTE FUNCTION tsvector_update_trigger('fulltext', 'pg_catalog.english', 'title', 'description');

The getActionStatement method is returning

EXECUTE FUNCTION tsvector_update_trigger('fulltext', 'pg_catalog.english', 'title', 'description')EXECUTE FUNCTION tsvector_update_trigger('fulltext', 'pg_catalog.english', 'title', 'description')

The expected output is just
EXECUTE FUNCTION tsvector_update_trigger('fulltext', 'pg_catalog.english', 'title', 'description')

from schemacrawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.