GithubHelp home page GithubHelp logo

Comments (6)

spinningbot avatar spinningbot commented on May 21, 2024

It looks like you have some views without definitions for some reasons. We're providing a fix to exclude views with NULL view definition from schema dumps.

https://www.postgresql.org/docs/12/sql-createview.html

from bytebase.

xiaods avatar xiaods commented on May 21, 2024

thanks for your patch

from bytebase.

spinningbot avatar spinningbot commented on May 21, 2024

Hi xiaods@, did you also grant bytebase enough permission to get all the views? I was thinking how we get to a spot with empty view definition which is almost required.

There are some instructions on adding an instance.
"Below is an example to create user 'bytebase' with password YOUR_DB_PWD and grant the user with the needed privileges. If the connecting instance is self-hosted, then you can grant SUPERUSER."

from bytebase.

xiaods avatar xiaods commented on May 21, 2024

Hi xiaods@, did you also grant bytebase enough permission to get all the views? I was thinking how we get to a spot with empty view definition which is almost required.

There are some instructions on adding an instance. "Below is an example to create user 'bytebase' with password YOUR_DB_PWD and grant the user with the needed privileges. If the connecting instance is self-hosted, then you can grant SUPERUSER."

I use a normal user without superuser permission. let me double check it.

from bytebase.

spinningbot avatar spinningbot commented on May 21, 2024

Hi xiaods@, would you mind sharing us the story for closing the bug? Just curious and wanna learn something. Thanks!

from bytebase.

xiaods avatar xiaods commented on May 21, 2024

Hi xiaods@, would you mind sharing us the story for closing the bug? Just curious and wanna learn something. Thanks!

As you designed it, this SQL editor is for querying SQL and not for managing DML. As I am new to SQL editor, I did not know the process, so I executed the wrong SQL directly inside SQL editor to report an error. After your reminder, I have known the process. I have used the DML language in Alter Schema and it works fine, so I closed the issue

from bytebase.

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.