question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OID Viewing and Editing

See original GitHub issue

System information:

  • Operating system (distribution) and version: kubuntu Linux 19.10
  • DBeaver version: 7.0.4

Connection specification:

  • Database name and version: PostgreSQL 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)

Describe your question:

How can I view and edit, or down-/upload binary data to/from a file in an OID column? For CLOB/BLOB, this seems to be possible with SHIFT + ENTER on the cell, for OID however, the properties window opens. The release notes for 7.0.2 contain “OID types rendering fix” but it doesn’t seem related. I’ve searched a lot but have anyway overlooked how to do this? Or it is just not possible?

All I could find is to use lo_get in a select which is already quite nice because it will display image data.

Cheers, Torsten

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
LonwoLonwocommented, Jul 12, 2022

Hello @Postremus

DBeaver uses virtual columns for the client-side and uses Jaxl expressions and functions only. Select will not work. You can read more about virtual columns here: https://github.com/dbeaver/dbeaver/wiki/Virtual-column-expressions

0reactions
Postremuscommented, Jul 1, 2022

Hi @LonwoLonwo I get the same error as @gitdode, when I configure the virtual column as he did.

If I do a simple query

select lo_get(field) from myentity

I see the file content. The function exists therefore.

Could you please advice us on how to fix this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

OID Editor
The OID Editor is the default editor for attributes with OID syntax. Display value. The values are suffixed with the textual description of ......
Read more >
Creating or Editing Users from OIDDAS Fails with LDAP Error ...
OID 10g: Creating or Editing Users from OIDDAS Fails with LDAP Error ... To view full details, sign in with your My Oracle...
Read more >
Warning: Data source does not have an OID field
Solution: Export the table or layer to a new table or feature class. More information: An ObjectID field is required to edit a...
Read more >
Oracle Internet Directory (OID) tips - Burleson Consulting
s radio button and then select the Edit button. To simply see the user?s information, select the user name link directly. If I...
Read more >
15: 74.2. System Catalog Initial Data - PostgreSQL
(The use of oid and oid_symbol is described in Section 74.2.2 below, while array_type_oid is ... For further examples of scripts used for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found