dbTalk Databases Forums  

[BUGS] BUG #1722: table with a serial field don't works

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1722: table with a serial field don't works in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Massimo Mollo
 
Posts: n/a

Default [BUGS] BUG #1722: table with a serial field don't works - 06-20-2005 , 06:12 AM







The following bug has been logged online:

Bug reference: 1722
Logged by: Massimo Mollo
Email address: maxy0440yxam (AT) yahoo (DOT) it
PostgreSQL version: 8.03
Operating system: win2000pro, winXphome
Description: table with a serial field don't works
Details:

I've installed postgres on 2 pcs, a win2000 and a winxp home.
when i create a table with a SERIAL field, the pgadmin can see and use it,
but with psql or a .net program using odbc, ole or lpgsql, the error is
"RELATION *tablename* NOT FOUND".
i tryed to use psql and the .net program on the same pc, or a lan-connected
pc.
If i change the type of the field originally SERIAL, the error vanish.

i searched on forums, but none knows that problems.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Richard Huxton
 
Posts: n/a

Default Re: [BUGS] BUG #1722: table with a serial field don't works - 06-20-2005 , 07:41 AM






Massimo Mollo wrote:
Quote:
I've installed postgres on 2 pcs, a win2000 and a winxp home.
when i create a table with a SERIAL field, the pgadmin can see and use it,
but with psql or a .net program using odbc, ole or lpgsql, the error is
"RELATION *tablename* NOT FOUND".
Please supply the real query and real error message.
What is the real tablename?
Is it in your search_path?
Does it contain spaces or mixed case, and if so is it quoted?

If you don't know why you would want to quote it, check the manuals
(chapter "Identifiers and Keywords") and list archives.

Quote:
i tryed to use psql and the .net program on the same pc, or a lan-connected
pc.
If i change the type of the field originally SERIAL, the error vanish.
Is the problem with the table not being found or the type of the column?

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.