On Tue, Dec 13, 2016 at 11:24 AM, Thomas Kellerer <spam_ea...@gmx.net>
wrote:

> David G. Johnston schrieb am 13.12.2016 um 18:05:
>
>> On Tue, Dec 13, 2016 at 9:43 AM, Pavel Stehule <pavel.steh...@gmail.com
>> <mailto:pavel.steh...@gmail.com>>wrote:
>>
>>
>>     pg_dump -t '"Statuses"' postgres
>>
>>
>> ​To elaborate - your shell was removing the double-quotes. You need
>> make it so after shell processing the double-quotes remain. Wrapping
>> the double-quote string in single-quotes should do it.
>>
>
> That was one of the options I tried, but that neither worked on Linux
> (using bash) nor on Windows
>
> Thomas
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


​pg_dump -t '"Statuses"' (that's " marks around the word Statuses and '
marks around that. On Fedora:

[tsh009@it-johnmckown-linux junk]$ pg_dump -t '"Status"'
--
-- PostgreSQL database dump
--

-- Dumped from database version 9.5.5
-- Dumped by pg_dump version 9.5.5

SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;

SET search_path = public, pg_catalog;

SET default_tablespace = '';

SET default_with_oids = false;

--
-- Name: Status; Type: TABLE; Schema: public; Owner: tsh009
--

CREATE TABLE "Status" (
    x integer
);


ALTER TABLE "Status" OWNER TO tsh009;

--
-- Data for Name: Status; Type: TABLE DATA; Schema: public; Owner: tsh009
--

COPY "Status" (x) FROM stdin;
1
\.


--
-- PostgreSQL database dump complete
--




-- 
Heisenberg may have been here.

http://xkcd.com/1770/

Maranatha! <><
John McKown

Reply via email to