Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIJES-0006oM-BB for pgsql-general@arkaria.postgresql.org; Thu, 01 Nov 2018 20:06:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gIJEQ-0003JI-Hd for pgsql-general@arkaria.postgresql.org; Thu, 01 Nov 2018 20:06:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIJEQ-0003BN-73 for pgsql-general@lists.postgresql.org; Thu, 01 Nov 2018 20:06:18 +0000 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gIJEK-0001sq-Ld for pgsql-general@lists.postgresql.org; Thu, 01 Nov 2018 20:06:16 +0000 Received: by mail-oi1-x241.google.com with SMTP id k64-v6so17670004oia.13 for ; Thu, 01 Nov 2018 13:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=QMnpHfsTE+xmuhhPtRfoMyvNB8po3T7AuTYM/nYTkRc=; b=qVQk+F5BFn+t25CBnS6QzIQpf+eW0U8VX14mSfgbjYJkGcnII+/C1uGiy6iRG0a/+2 YdSkhpI0rIKufwUJSfi6e2p5RRKOJO1gCnlblQcOeGD6jd9RSCpZE3DmZFCWJt26DF4a lxJFugK8f9xF22OgKlL6zC1uhe7ASfIzOKBGckXiY4B4nZHjmH4DFF42E1GXnq68IkR6 2wir9irWR1mCBsZKfGfyaL01RgYaV3OOxu+f4hlbIFPCjmkCej308kZyUn4Yw7euKIvT d69r+Zars4s5MQT9yp5ugKB0hhZ/82fkKJGZ3UJWyQ5buwTB6Ew9yLSdyS/Rpj2+XgrE hx5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=QMnpHfsTE+xmuhhPtRfoMyvNB8po3T7AuTYM/nYTkRc=; b=pOBxTC53SMxdXlb0DkHno9kP7DCOTLNUvVLx3rbzD5Jm7ZqpIKOlHq4pS3hhGPaxeU GgUvo5dW49NusvfLPWGMj8RlpetO6YaPZw6EQKGw3aQEjL2nEWotvFWX8PRqmi7X9EOO raG9NQ+P7OtytVG5w1U+9q5kYyl/40Cgp5eZp5YTI3irNvTwgVaIBD/GIvXvi/5pOvl8 3RFjJ4G7+JxUcJZAl0tnDoTLjcAOSP+oTRAQ9ncdfp6X8jhbt8caeA6eKsYOQPY6m0wi YlgJFmd13A9YrLOQS8cWZOxIItvxa9hXze4Pn+C1DmQxdtMzYNXftIq8f5mripW+TRKN 25jA== X-Gm-Message-State: AGRZ1gK4jIgqsWDkzSDeItuQFeTVspbVDfBCiaSK6k4oD20MacmgPcmb yWOa4brvu0E3WwYjrgS5AYwtoXXX X-Google-Smtp-Source: AJdET5ebUXk3wZNGU45TqEWstL8gKPXytD7CPeKPriQQYBD1MNUFqKhJlQnZu87UzsFzimtUF081bQ== X-Received: by 2002:aca:bed6:: with SMTP id o205-v6mr4985534oif.294.1541102770265; Thu, 01 Nov 2018 13:06:10 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id j50sm10033123otc.54.2018.11.01.13.06.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 13:06:09 -0700 (PDT) To: pgsql-general@lists.postgresql.org From: Ron Subject: Truncated queries in the pg_log file Message-ID: Date: Thu, 1 Nov 2018 15:06:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, v8.4  (we're migrating to 9.6 tomorrow night, but the work must still proceed today.) SQL statements are being logged (which is good), but only the fist 400 or so bytes is recorded.  What knob do I tweak to record the whole query? Here are the relevant postgres.conf items which are not commented out: log_destination = 'stderr' logging_collector = on log_directory = 'pg_log' log_filename = 'postgresql-%F.log' log_rotation_age = 1d silent_mode = off client_min_messages = notice log_min_messages = notice log_min_error_statement = notice log_min_duration_statement = 5000 log_checkpoints = on log_line_prefix = '%m %d %r %u %p %x %i' log_lock_waits = on log_statement = 'mod' log_temp_files = 1kB track_activity_query_size = 10240 Thanks -- Angular momentum makes the world go 'round.