-
Notifications
You must be signed in to change notification settings - Fork 728
If user change any data type of any column in foreign table then column name "none" is displayed in SQL #6674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 11, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 11, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 11, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 12, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 14, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 14, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 25, 2023
yogeshmahajan-1903
added a commit
to yogeshmahajan-1903/pgadmin4
that referenced
this issue
Sep 26, 2023
khushboovashi
pushed a commit
that referenced
this issue
Sep 26, 2023
Tested on snapshot build 2023-09-28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
create the following SQL:
CREATE FOREIGN DATA WRAPPER fdw1;
CREATE SERVER fr
FOREIGN DATA WRAPPER fdw1;
CREATE USER MAPPING FOR postgres SERVER fr;
CREATE FOREIGN TABLE IF NOT EXISTS public.tab1(
abcd "char" NULL
)
SERVER fr;
Now go into properties on tab1
select column
change the datatype to bit
Go to SQL
following SQL is displayed:
ALTER FOREIGN TABLE IF EXISTS public.tab1
RENAME COLUMN abcd TO None;
ALTER FOREIGN TABLE IF EXISTS public.tab1
ALTER COLUMN None DROP NOT NULL;
ALTER FOREIGN TABLE IF EXISTS public.tab1
ALTER COLUMN None TYPE bit;
ALTER FOREIGN TABLE IF EXISTS public.tab1
ALTER COLUMN None SET STATISTICS -1;
Expected behavior
the data type should be changed successfully in the foreign table
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: