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

  • Home
  • SEARCH
  • 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 7850769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:57:57+00:00 2026-06-02T18:57:57+00:00

For example I have NOT NULL field in database. I’m trying to insert NULL

  • 0

For example I have NOT NULL field in database. I’m trying to insert NULL VALUE into it. PostgreSQL says:
ERROR: null value in column "id" violates not-null constraint

(or something like that, in my version it speeks in russian, so i find english error message in google).

How can i obtain additional information about error? Firts of all table and schema. I have to parse this error and return table, schema and field where error occurred to a higher module of my system. This info is quite easy to find in Oracle and SQL Server, but how to find them in postgre?

Same trouble with UNIQUE VIOLATION ERROR and others.

Note: this insert or update may be part of big batch command so without information from database I can’t locate query where error occurred.

  • 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-02T18:57:58+00:00Added an answer on June 2, 2026 at 6:57 pm

    You have to use a regular expressions and parse error message. There are not other possibility now. This is in my ToDo, but it needs a free time.

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

Sidebar

Related Questions

I am trying to insert a NULL value into a MySQL db int field
I want to ignore executable files that do not have an extension For example:
I can't find the is not operator in C#. For example I have the
jquery.ui.position is not taking the margin values when positioning items? I have this example,
I do not understand the following example, let's say I have these functions: #
Why does: const char example; (uint64*)example have a value of 140734799798420 and *(uint64*)example have
Here's the problem. I ,for example,have a string 2500.Its converted from byte array into
ok i have a complete form in my database as row for example name
I have models corresponding to database tables. For example, the House class has color,
Is it possible in a SSIS to ignore records that have a null field?

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.