-
Notifications
You must be signed in to change notification settings - Fork 643
[pg] Support PgAdmin #1722
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
#1717 - need table pg_settings in default path Workaround:
|
next query after select version is $3 = SELECT |
current_database() crash |
next query SELECT |
@vitstn
We can detect the connection with "application_name" "pgAdmin 4 - .*" as special case and patch the request special for pg_admin. |
@adameat How can we get application_name from pgwire layer? |
it is right there: https://github.com/ydb-platform/ydb/blob/main/ydb/core/local_pgwire/local_pgwire_connection.cpp#L47 |
with compat hack for AEXPR_OP_ANY -> false, the query is working --!syntax_pg |
properties of tablespaces/roles don't work yet Status: GENERIC_ERROR Issues: { oid => '1993', |
properties of databases Status: INTERNAL_ERROR Issues: |
a background query --!syntax_pg |
another query to describe a role SELECT |
a query to load casts --!syntax_pg |
extensions: SELECT Issues: : Fatal: ydb/library/yql/core/yql_expr_type_annotation.cpp:6766 CheckExpectedTypeAndColumnOrder(): requirement IsSameAnnotation(*node.GetTypeAnn(), *it->second) failed, message: Rewrite error, type should be : List>, but it is: List> for node AssumeColumnOrder, code: 1 |
fdw: SELECT fdw.oid, fdwname as name, fdwhandler, fdwvalidator, description, runtime error typecheck is ok |
languages: --!syntax_pg Issues: |
schemas: SELECT ORDER BY nspname issue: :9:21: Error: At function: PgNot, At function: PgLike :9:21: Error: Expected pg text, but got name |
types: SELECT t.oid, t.typname AS name issues: |
procedures: SELECT issues: |
operators: SELECT op.oid, pg_catalog.pg_get_userbyid(op.oprowner) as owner, issues: |
functions: SELECT Terminate was called, reason(42): ERROR: relation "pg_proc" does not exist |
foreign tables: "SELECT Terminate was called, reason(43): ERROR: relation "pg_class" does not exist |
agg funcs: SELECT aggfnoid::oid as oid, Terminate was called, reason(47): ERROR: relation "pg_aggregate" does not exist #5 0x00000000237fc75a in RangeVarGetRelidExtended (relation=0x7fb6cb0cc300, lockmode=lockmode@entry=0, flags=flags@entry=0, callback=callback@entry=0x0, |
#2387 fix for regclass cast |
columns of view: SELECT DISTINCT att.attname as name, att.attnum as OID, pg_catalog.format_type(ty.oid,NULL) AS datatype, Issues: :15:5: Error: alternative is not implemented yet : 145
|
--!syntax_pg need to return 0 instead of null |
this fixes resolving of oid -> type for results |
select oid,tableoid,xmin,cmin,xmax,cmax,ctid from pg_type where typname = 'text'; on original PG returns |
Notes:
Disable gssmode for connection
The text was updated successfully, but these errors were encountered: