Questions from a Newbie

Started by Hunter Hillegasover 25 years ago3 messagesgeneral
Jump to latest
#1Hunter Hillegas
hunter@lastonepicked.com

I am considering migrating to PostgreSQL 7.1 from mySQL for some of my Web
applications.

I have a couple of questions:

1. The JDBC driver for mySQL will automatically escape special characters
(like single quotes) if you use the PreparedStatement class. Does the
Postgre JDBC driver do the same thing?

2. While 7.1 CVS built fine on Red Hat 6.2, I can't get it to build on MacOS
X Public Beta. I don't have that box in front of me so I can't remember
where it failed. Just wondering if anyone has brought it up on this
platform...

Thanks!

Hunter

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Hunter Hillegas (#1)
Re: Questions from a Newbie

Hunter Hillegas <hunter@lastonepicked.com> writes:

2. While 7.1 CVS built fine on Red Hat 6.2, I can't get it to build on MacOS
X Public Beta.

This is being looked at, see "darwin" traffic on pgsql-patches and
pgsql-hackers.

Dunno about your JDBC question tho ... ask on pgsql-interfaces ...

regards, tom lane

#3Chris Jones
chris@mt.sri.com
In reply to: Hunter Hillegas (#1)
Re: Questions from a Newbie

Hunter Hillegas <hunter@lastonepicked.com> writes:

1. The JDBC driver for mySQL will automatically escape special characters
(like single quotes) if you use the PreparedStatement class. Does the
Postgre JDBC driver do the same thing?

Yes.

Chris

--
----------------------------------------------------- chris@mt.sri.com
Chris Jones SRI International, Inc.