I want to create column with Generated Columns
Postgres version: PostgreSQL 15.1, compiled by Visual C++ build 1914, 64-bit
Dbeaver version: 23.0.1.202303250535
query (yes, i now it violates 1NF):
CREATE TABLE employees (
first_name VARCHAR(50),
last_name VARCHAR(50),
full_name VARCHAR(100) GENERATED ALWAYS AS (first_name || ' ' || last_name) STORED
);
output:
SQL Error [42601]: ERROR: syntax error at or near "("
I did a little searching and end up in this GitHub issue which has a linked pull request to support generated columns. Does dbeaver not support Generated Columns or what?
I'm trying to use pgAdmin 4 version 6.15
then execute the above query and run it successfully. How can I execute that query successfully on Dbeaver?