-
Notifications
You must be signed in to change notification settings - Fork 8
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
IMPORT FOREIGN SCHEMA behaviour #17
Comments
The issue with doing that is that it would be inconsistent with the general behaviour of So in the same way that it's possible to write I am considering adding further options to |
Yes, there is an irreparable conflict between recommended ISO SQL behaviour and real PosgtreSQL+Firebird transformation of object names without quoting.
must be respected as rational for |
For cases: Upper Lower Mixed we have this transformation table
|
There is a bug:
Correct foreign server in Postgres (the name is fb_Test)
Special schema On SQL
there is errors:
This errors don't depends on Is this a problems in firebird_fdw or in PostgreSQL's I am using Firebird 3.0+ and PostgreSQL 14 for this test. |
@ibarwick, have you got any time for tests around of previous comment #17 (comment) ? There is debug output DEBUG.log for my test. |
Mixedcase problems fixed by #37 |
This is not real issue, but discussion about
quote_identifiers
to continue #15 (comment).I think it will be simple for refactoring, if
IMPORT FOREIGN SCHEMA
behaviour withLIMIT TO
andEXCEPT
will be managed by servel-level optionquote_identifiers
.By ISO basal SQL behaviour with object's identifier is quoting letter to letter between different DBMSs. So, real Firebird or PostgreSQL behaviour (if there is no quoting characters
"name"
) by ISO is modification of this basal behaviour. If we consider to automateIMPORT FOREIGN SCHEMA
, we needn't precise naming management for separate tables or columns. At this moment user know naming style of Firebird database as value of optionquote_identifiers
. So, it is possible not to analyse the case of the object name if we know the value ofquote_identifiers
.If
quote_identifiers
=false
we always have a risk of unacessed lowercase name of table or column, but no way to provide some options for separate tables or columns for export.The text was updated successfully, but these errors were encountered: