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 514115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:29:28+00:00 2026-05-13T07:29:28+00:00

I have a Postgresql dump file which i’m trying to restore. I get this

  • 0

I have a Postgresql dump file which i’m trying to restore. I get this error regarding an invalid data i guess.

ERROR: invalid input syntax for integer: “.”

and when i checked the file, there are data like this:

469215  2009-10-10 18:16:47.041377  0   1
471217  2009-10-10 18:25:12.536352  0   1
473224  2009-10-17 09:46:43.041604  0   1
473228  2009-10-22 10:58:40.194244  0   1
.

so i was wondering what is this “.” do?
i check some other working dumps and they ended their data line with “.” which i guess it’s the correct syntax!

Please tell me what’s the correct syntax and what does it do?
thank you

  • 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-05-13T07:29:29+00:00Added an answer on May 13, 2026 at 7:29 am

    Seems that it marks the end of a COPY statement

    From the documentation

    End of data can be represented by a single line containing just backslash-period (\.).
     An end-of-data marker is not necessary when reading from a file, since the end of file 
    serves perfectly well; it is needed only when copying data to or from client
    applications using pre-3.0 client protocol.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dump of several Postgresql Tables in a selfcontained CSV file which
I have this Trigger in Postgresql that I can't just get to work (does
I have a Postgresql database on which I want to do a few cascading
I have a table in PostgreSQL where the schema looks like this: CREATE TABLE
I have been playing around with the postgresql.conf file for a couple days now.
I have a tab-separated data file with a little over 2 million lines and
I have just installed PostgreSQL 8.3.4 on Mac OS X 10.5 (using ports), but
In PostgreSQL 8.3 database I have bookings table referencing booking_transactions table by ID. So
I have been working with PostgreSQL, playing around with Wikipedia's millions of hyperlinks and
I have a really big database (running on PostgreSQL) containing a lot of tables

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.