Pyrseas icon indicating copy to clipboard operation
Pyrseas copied to clipboard

More robust quoted names handling

Open dvarrazzo opened this issue 6 years ago • 2 comments

Added a proper parser for a sequence of dot-separated quoted names.

Let quote_id do the merging back into dot-separated quoted names string, minimising the use of ad-hoc %s.%s where sometimes one side got unquoted.

dvarrazzo avatar Jul 28 '17 15:07 dvarrazzo

Ugh, I see a lots of things are failing in the test: this MR requires more work. It was necessary though to handle the case of a db with foo."bar.baz" names (I can dump that db with this and other changes).

dvarrazzo avatar Jul 28 '17 15:07 dvarrazzo

@dvarrazzo Daniele, do you have a minimal test case? I presume it would first suffice to do a CREATE TABLE foo."bar.baz", but it seems we also should test CREATE TABLE "foo.bar"."Baz" and not just for tables (but we can start with schemas and tables).

jmafc avatar Mar 08 '18 02:03 jmafc