Re: [BUGS] BUG #2395: Can't get right type oid by PQftype.

2006-04-16 Thread 姜维
Tom Lane 写道: > > Yeah, this is considered a feature not a bug. In fact the original > > implementation just returned the domain's OID, and that was objected > > to because most client programs wouldn't recognize it. > > > > > How to disable this feature ? ---(end

[BUGS] connection problem in postgresql

2006-04-16 Thread Majo George Cheruvathur
Dear Sir/Madam, I am a programmer in sharjah,uae. Now i am working in postgresql. I cannot able to connect to postgresql.I am pasting my code here.    Class.forName("org.postgresql.Driver"); Connection conn=DriverManager.getConnection("jdbc:postgresql://127.0.0.1/postgres", "postgres", "sadeen");  

Re: [BUGS] connection problem in postgresql

2006-04-16 Thread Tom Lane
"Majo George Cheruvathur" <[EMAIL PROTECTED]> writes: > I cannot able to connect to postgresql.I am pasting my code here. > Class.forName("org.postgresql.Driver"); > Connection conn=3DDriverManager.getConnection("jdbc:postgresql://127.0.0.1= > /* > postgres*", "*postgres*", "sadeen"); > here sa

Re: [BUGS] BUG #2386: pg_restore doesn't restore large objects

2006-04-16 Thread Tom Lane
"Patrick Headley" <[EMAIL PROTECTED]> writes: > I then switched over to a Windows Server 2003 machine with PostgreSQL 8.0.4 > installed and used pg_restore from the PostgreSQL bin folder. The version > for pg_restore on that machine is v8.0.4.5277. On the Windows 2003 machine > the restore worked.

Re: [BUGS] connection problem in postgresql

2006-04-16 Thread Luckys
String url = "" Properties props = new Properties();props.setProperty("user","fred");props.setProperty("password","secret"); props.setProperty("ssl","true");Connection conn = DriverManager.getConnection(url, props); although there are different forms for the url connection string. Do no forget to