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 1nFdoZ-0001a5-63 for pgsql-general@arkaria.postgresql.org; Thu, 03 Feb 2022 15:14:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nFdoY-0000Gu-37 for pgsql-general@arkaria.postgresql.org; Thu, 03 Feb 2022 15:14:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFdlM-0001hs-Sl for pgsql-general@lists.postgresql.org; Thu, 03 Feb 2022 15:11:09 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nFdlH-0002rC-G2 for pgsql-general@postgresql.org; Thu, 03 Feb 2022 15:11:08 +0000 Received: by mail-wr1-x42b.google.com with SMTP id s18so5638454wrv.7 for ; Thu, 03 Feb 2022 07:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=v/M48O3We/yUq4eAZAx2eHnL2q1mAUzLh5+hZnDqtIE=; b=3hIGve2qlQJITNhrVeCugxgZZ0uODfMpAfog3B0//Qi3OoPUqVvIq5lb653TFCT7rm Z5piEzrMIu3P4YxKW+bk/sZVbqaENhgVsJr7Xdp6PWxgaP7GMQJSUiU6G83jZ7TR4QTQ u3Caxb0z4yv4dQMMGbJRffQSA08hRzfs3QLMQVVld9tQnCzueVNYfsLr3kl+Q1+dWl7f FP6DFPvG2A+OZoGZEmbWZt7Mte32YwNz3xwvE/T15ZtOZfolKBgHHdwg39ehuZuHsdWo pXq+5KapcS0yhb122wB9Uf9CZd7aMFROTAu5w9ISp5KkxfeDfIsycNgsHycAFOJpgMT7 E/Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=v/M48O3We/yUq4eAZAx2eHnL2q1mAUzLh5+hZnDqtIE=; b=glSVn6uh1C+Axb/rRyJPBFxw48cf5hU/4wbYpTGfVSFxxGbZ/gUZRq+OQt6qjrOvcv /HYGuEZJ0qrM0bJVSYhppDlQliEVPZvRlY9VOhk94YC9H6b7e3agDUXItwZdFmTYeVdn 0ily7Y6TSBDAi5NttSybrBEMBlJvPTAuLhgMo4h2LYnMcpKZj1BnESUQzWmDKC1zKlgT TRgs6bgq+7SerWkuBjGuQw6szh4Q9IfsPOHmfdxTxUwzKf06j9sz04lOtksntZ5Lx6Dw zwTjAUYW/LQINLsA/VgubWoJe2bgbLzQb+5JjAJ7NxsLsyKfGlog3hfHLO9D3P6b5SMR EFCg== X-Gm-Message-State: AOAM532f+L6NW/JSlc0aSJsb7DVN6WevhvLOfLrVv6cAnjje/DtVP0Zb aFTnr7IzIu3DGtgkNC/7nItQAgmKpz47hG79 X-Google-Smtp-Source: ABdhPJyY/H6RZZnmETOit5pCP8a4cD1FH+9V8SfAVj6OVoDLyLxf/EpVwMRPU6gL+bXI27wPOUJD9w== X-Received: by 2002:a5d:6da8:: with SMTP id u8mr11643000wrs.603.1643901060929; Thu, 03 Feb 2022 07:11:00 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:b709:a55b:5301:5f3c:45e0]) by smtp.gmail.com with ESMTPSA id f6sm20403516wrj.26.2022.02.03.07.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 07:11:00 -0800 (PST) Message-ID: <78543062c8196b224f1a51ec46d45e34be7829ce.camel@cybertec.at> Subject: Re: Oracle to postgresql migration From: Laurenz Albe To: Rama Krishnan , Postgres General Date: Thu, 03 Feb 2022 16:10:59 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-2.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2022-02-03 at 20:24 +0530, Rama Krishnan wrote: > How do we take care of database character set when trying > to migrate from oracle to postgres If NLS_SORT and NLS_COMP are set to German in Oracle, just create the PostgreSQL to a German collation to get a similar behavior. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com