Giter Site home page Giter Site logo

Comments (4)

adityatoshniwal avatar adityatoshniwal commented on May 26, 2024

Hi @ecerichter,
Did you try Ctrl+C/Cmd+C on the selected object?

from pgadmin4.

pravesh-sharma avatar pravesh-sharma commented on May 26, 2024

Copy FQN is not implemented yet.

from pgadmin4.

ecerichter avatar ecerichter commented on May 26, 2024

Hi @ecerichter, Did you try Ctrl+C/Cmd+C on the selected object?

Thanks for your tip - it works, but is kind of inconsistent:

  • Ctrl+C over a table returns "public.mytable"
  • Ctrl+C over a column returns "MyColumnName"

As pointed by pravesh-sharma, there is not Copy FQN - but current behavior is kind of mixed.

I've tested almost all types of objects, and discovered the following pattern:

Ctr+c over Database object: only name
Ctr+c over intermediate nodes: only name
Ctr+c over schema direct childs (tables, functions, trigger functions, sequences): schema+name
Ctr+c over columns: only name
Ctr+c over indexes: only name

That's are all my findings.

from pgadmin4.

adityatoshniwal avatar adityatoshniwal commented on May 26, 2024

Hi @ecerichter,
The name is generated to make it SQL friendly. Generally in a query, a fully qualified column is not used. Its simply the column name. For tables, a fully qualified name is used. It is intentional.

from pgadmin4.

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.