> > I am unable to write a filter statement which can > > handle this relname: > > > > CREATE TABLE "a"" > > ""b" (a integer); > > > > Are you able to craft one for that? > > > > I am not able to dump this directly in pg_dump. Is it possible? > > Sure, see below: > > $ ./bin/psql filter > psql (15devel) > Type "help" for help. > > I didn't ask on this > > I asked if you can use -t and some for filtering this name?
I didn't try as I don't see how that's relevant? Surely we're not limiting the capabilities of a filtering file format based on the quoting semantics of a shell?
this patch just use existing functionality, that can be buggy too.
but I had a bug in this part - if I detect double double quotes on input I have to send double quotes to output too.