Skip to content
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

pg_dump doesnt work #15

Closed
hainkind opened this issue Jan 8, 2019 · 7 comments
Closed

pg_dump doesnt work #15

hainkind opened this issue Jan 8, 2019 · 7 comments

Comments

@hainkind
Copy link

hainkind commented Jan 8, 2019

pg_dump -Fc -v bittrex > newtry3
pg_dump: last built-in OID is 16383
pg_dump: reading extensions
pg_dump: identifying extension members
pg_dump: reading schemas
pg_dump: reading user-defined tables
pg_dump: reading user-defined functions
pg_dump: reading user-defined types
pg_dump: reading procedural languages
pg_dump: reading user-defined aggregate functions
pg_dump: reading user-defined operators
pg_dump: reading user-defined access methods
pg_dump: reading user-defined operator classes
pg_dump: reading user-defined operator families
pg_dump: reading user-defined text search parsers
pg_dump: reading user-defined text search templates
pg_dump: reading user-defined text search dictionaries
pg_dump: reading user-defined text search configurations
pg_dump: reading user-defined foreign-data wrappers
pg_dump: reading user-defined foreign servers
pg_dump: reading default privileges
pg_dump: reading user-defined collations
pg_dump: reading user-defined conversions
pg_dump: reading type casts
pg_dump: reading transforms
pg_dump: reading table inheritance information
pg_dump: reading event triggers
pg_dump: finding extension tables
pg_dump: finding inheritance relationships
pg_dump: reading column info for interesting tables
pg_dump: finding the columns and types of table "public.test"
pg_dump: finding the columns and types of table "public.zson_dict"
pg_dump: finding default expressions of table "public.zson_dict"
pg_dump: flagging inherited columns in subtables
pg_dump: reading indexes
pg_dump: reading indexes for table "public.zson_dict"
pg_dump: flagging indexes in partitioned tables
pg_dump: reading extended statistics
pg_dump: reading constraints
pg_dump: reading triggers
pg_dump: reading rewrite rules
pg_dump: reading policies
pg_dump: reading row security enabled for table "public.test"
pg_dump: reading policies for table "public.test"
pg_dump: reading row security enabled for table "public.zson_dict_dict_id_seq"
pg_dump: reading policies for table "public.zson_dict_dict_id_seq"
pg_dump: reading row security enabled for table "public.zson_dict"
pg_dump: reading policies for table "public.zson_dict"
pg_dump: reading publications
pg_dump: reading publication membership
pg_dump: reading publication membership for table "public.test"
pg_dump: reading subscriptions
pg_dump: reading large objects
pg_dump: reading dependency data
pg_dump: saving encoding = SQL_ASCII
pg_dump: saving standard_conforming_strings = on
pg_dump: saving search_path =
pg_dump: saving database definition
pg_dump: dumping contents of table "public.test"
pg_dump: Dumping the contents of table "test" failed: PQgetResult() failed.
pg_dump: Error message from server: ERROR: relation "zson_dict" does not exist
LINE 1: select word_id, word from zson_dict where dict_id = $1 order...
^
QUERY: select word_id, word from zson_dict where dict_id = $1 order by word
pg_dump: The command was: COPY public.test (id, datetime, bid, ask, last, volume, orderbook) TO stdout;
<

pg_dump doesnt work with postgres 11.1 and zson.

@edmenendez
Copy link

This commit seems to address the issue: bruce-one@8e59cdf

@lox
Copy link

lox commented Aug 25, 2020

Would be great to get this fixed, @bruce-one, any chance of a PR?

@afiskon
Copy link
Collaborator

afiskon commented Apr 21, 2021

I've checked. The issue was fixed with 8e59cdf a long time ago.

@afiskon afiskon closed this as completed Apr 21, 2021
@Object905
Copy link

Object905 commented Apr 12, 2023

I've got this in postgres 15.2 and zson 1.1.

select * FROM zson_dict; works when I connect to the database with psql.

pg_dump: error: Dumping the contents of table "files_filetorow" failed: PQgetResult() failed.
pg_dump: detail: Error message from server: ERROR:  relation "zson_dict" does not exist
LINE 1: select word_id, word from zson_dict where dict_id = $1 order...
                                  ^
QUERY:  select word_id, word from zson_dict where dict_id = $1 order by word
pg_dump: detail: Command was: COPY public.files_filetorow (id, created, file_id, row_id, raw, add_data) TO stdout;`
``

@afiskon
Copy link
Collaborator

afiskon commented Apr 12, 2023

@Object905 you are using a version released 6 years ago.

@Object905
Copy link

@afiskon
Weird thing is that I installed this extension by compiling it from master branch on latest commit, like in readme.

@afiskon
Copy link
Collaborator

afiskon commented Apr 14, 2023

@Object905 you are right, I was able to reproduce this. I opened a new issue since this seems to be something related to the new version of PG #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants