Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlukl-0000Cd-7G for pgsql-general@arkaria.postgresql.org; Tue, 03 May 2022 15:47:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nlukk-0007zu-1J for pgsql-general@arkaria.postgresql.org; Tue, 03 May 2022 15:47:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nluki-0007xJ-5l for pgsql-general@lists.postgresql.org; Tue, 03 May 2022 15:47:53 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nlukf-0002SR-7J for pgsql-general@lists.postgresql.org; Tue, 03 May 2022 15:47:51 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B985E5C0369; Tue, 3 May 2022 11:47:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 03 May 2022 11:47:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1651592867; x= 1651679267; bh=/hsT1+ePqi+Tv3H8RALy+hUSAo+3OGWr3an/YBi6t1c=; b=w alR3uysxv9WAlP0CfQv+W+VGNJfFVMclcqf6M+DWTkqSv+O5HcRK4PObc0juPMb1 TSKV1Jn9J/KLe2ZHEEIqSB6cD8zG+qNNaVrwWYOpvnkWOgcEx7Xd22QfbuQv4y2M OUDEgB7ve+jnCA2Ewm1gRH2Qh2wV830VWLPpiNkZUI7obuVTfMoTDwMxHOa7yEEL fCtYdqvc9eesCYFhlcDejskIJg15yDA/jisu1ChT+NZryQ1UyYc5jm9cRpQkFPJI a5K6pkpY9xAfNbtAgHEAe3+XlE18VdTIQAb+gqJ27l8ovzGWHGj5OB+sqqE5mUSG fHDHd+Gu/dhfEmVasv+fA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1651592867; x=1651679267; bh=/hsT1+ePqi+Tv 3H8RALy+hUSAo+3OGWr3an/YBi6t1c=; b=wPOBgXUuewWohPe/zcpBvl7FLQJ71 sy4wXHSA4gujI7pVEET431lbzger0jq2urjAgUgw/D+dSJhPs3p84Nb2Y86QbacW aJflyfjFhG6YolyR/kQ5Ne0yy1PQnBBeub4Ij/FNJA+yve/yul7v6o2ZK4YTSaI3 R4fed+0Tz5bJ34XLDNRIHPu4L5J1eiISr447CaJDLKWKk0/CUtKiEssSo6Ggl1ww X6RsLY3s40WphVcj4tA3Y94fd1t8EIcZU8xcaVc/akXwfxqjxUwHblstBE/71ccB /3xA8cmQb86OrMET2ZkynVogZgyDSoHyokYo76RaedgXNhI92ZnYiQlbQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeejgedthfeuhfetgfffvdehudelteegjeduveffkeet geejieehueduleelgfffffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 May 2022 11:47:46 -0400 (EDT) Message-ID: Date: Tue, 3 May 2022 08:47:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: Backing up a DB excluding certain tables Content-Language: en-US To: JORGE MALDONADO Cc: Tom Lane , pgsql-general@lists.postgresql.org References: <252494.1650998593@sss.pgh.pa.us> <282742.1651016166@sss.pgh.pa.us> <1db41c48-0738-dabd-5155-52c7ce1a19de@aklaver.com> <6a59a991-672b-19fc-3e25-286f83cd519e@aklaver.com> <1eaf7734-9fd3-24e7-d103-e6e3b8f341a8@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/3/22 09:10, JORGE MALDONADO wrote: > Hi, > > I tried the suggestion in the "*Notes for Windows Users*" which > recommends the following: > > > The first suggestion says that 1252 is the code page for German. > However, I used it because that is the code the DB was created with. > When I ran the *cmd.exe /c chcp1252* command, nothing appeared on screen > but it looked like something was done. So I ran the command without the > */c* argument so the console window remained open. Then I changed the If you do in a console window: chcp cmd.exe /c chcp 1252 --It should be this not chcp1252 chcp You should see the value returned by chcp change from 437 to 1252 with the window staying open. chcp without an argument will only display the current code page number. Not sure what '...so the console window remained open.' means? Did running cmd.exe close the console window? If so how did you get to the console(command prompt)? > font to *Lucida Console* and ran the *pg_dump* command with different > combinations in the *--exclude-table* argument without success. > > * --exclude-table *.AspNet* > * --exclude-table '*."AspNet"*' > * --exclude-table '*."AspNet*"' > * --exclude-table'*."AspNet*"' > > ------------------------------------------------------------------------------------------------------------------------------------------------------------ -- Adrian Klaver adrian.klaver@aklaver.com