Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8699719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:01:09+00:00 2026-06-13T02:01:09+00:00

I have some SQL statements that cause this to happen: NOTICE: word is too

  • 0

I have some SQL statements that cause this to happen:

NOTICE:  word is too long to be indexed
DETAIL:  Words longer than 2047 characters are ignored.

What’s the easiest way to not have these notices be generated in the first place? (It’s a long story why I’d want to do it that way.)

An example of such a statement is this:

update rev set html = regexp_replace(html,
                         '***=<a href="' || old.url || '">',
                         '<a href="' || new.url || '">',
                         'gi')
        where id in (
            select id
                    from rev
                    where to_tsvector('tags_only', html) @@
                      plainto_tsquery('tags_only','<a href="' || old.url || '">')
        )

It’s not the A tags with long urls or anything causing the problem. It’s probably embedded CDATA-style graphics. I don’t care that they’re not indexed, whatever they are. I just want these notices to not occur.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:01:11+00:00Added an answer on June 13, 2026 at 2:01 am

    If you don’t mind suppressing all notices just change PostgreSQL error reporting level. client_min_messages defines lowest level of error/warning/notice messages sent to client, log_min_messages does the same for messages saved in log. Possible values are: DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, INFO, NOTICE, WARNING, ERROR, LOG, FATAL, PANIC

    edit:

    Disable for this query only: SET LOCAL client_min_messages TO WARNING;

    Disable for this session only: SET SESSION client_min_messages TO WARNING;

    Disable for this user: ALTER ROLE username SET client_min_messages TO WARNING;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some sql statements that calculates some numbers. It's possible (with bonus points/penalty
I'm having some trouble with an SQL statement that have to find the number
I'm getting crazy with this problem: I have got some Oracle SQL-Reports to redesign
I have some code that uses the SQL Server 2005 SMO objects to backup
I have some .sql files with thousands of INSERT statements in them and need
I have a bunch of SQL statements that were originally written to support Oracle
I have a lot of SQL insert/update/delete statements of which some are redundant. For
I have a long running SQL query inside a page that I've sped up
I have some java.sql.Time objects as follows: String s1 = 12:00:04; String s2 =
I have some legacy SQL (SP) declare @FactorCollectionId int; select @FactorCollectionId = collectionID from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.