dbTalk Databases Forums  

Postgresql for Dummies?

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Postgresql for Dummies? in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Daniel Lerch
 
Posts: n/a

Default Postgresql for Dummies? - 10-12-2004 , 01:52 PM






I need to learn how to work with PostgreSQL for work, but I am
*completely* unfamiliar with the program, almost completely unfamiliar
with databases (I've only worked with very basic databases in MS
Access), and relateively unfamiliar with using non-GUI programs.

In other words, I need a 'Postgresql for Dummies' book - something that
will start at the most basic level. The books I've seen out there on
Amazon.com and other places all seem to be aimed at developers, though.
Where can I go to get a basic, basic, BASIC tutorial/guidebook for
learning PostgreSQL?

Thanks,

Daniel Lerch
Portland, Oregon

---------------------------(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   
Sean Davis
 
Posts: n/a

Default Re: Postgresql for Dummies? - 10-12-2004 , 02:50 PM






Installing postgres is covered pretty well in the documentation.
However, there may be a simpler way to install depending on your system
(something like an installer). Other than the install instructions,
there are MANY online SQL tutorials that can be completed in 1-2 hours
and will teach you the basics of working with modern relational
databases and SQL. You could let us know where you are in the process
and we could provide better direction, I suppose.

Sean

On Oct 12, 2004, at 2:52 PM, Daniel Lerch wrote:

Quote:
I need to learn how to work with PostgreSQL for work, but I am
*completely* unfamiliar with the program, almost completely unfamiliar
with databases (I've only worked with very basic databases in MS
Access), and relateively unfamiliar with using non-GUI programs.

In other words, I need a 'Postgresql for Dummies' book - something
that will start at the most basic level. The books I've seen out
there on Amazon.com and other places all seem to be aimed at
developers, though. Where can I go to get a basic, basic, BASIC
tutorial/guidebook for learning PostgreSQL?

Thanks,

Daniel Lerch
Portland, Oregon

---------------------------(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)

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Reply With Quote
  #3  
Old   
Daniel Lerch
 
Posts: n/a

Default possible to access a Linux box db from a Windows box via a GUI? - 10-12-2004 , 02:56 PM



It occured to me that I might have an easier time learning PostgreSQL if
I start off with a GUI instead of just command line.

But I access the database over our LAN -- I'm on a Windows 2000 box, and
the psql database is on a Linux box. I've been accessing it by running
PuTTY.

So, my question is - is there a GUI program I can run off my Windows
2000 box that will allow me to access myt psql database on the Linux
box? Or do I have no choice but run the GUI on the Linux box?

Thanks,

-d

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
  #4  
Old   
Sean Davis
 
Posts: n/a

Default Re: possible to access a Linux box db from a Windows box via a GUI? - 10-12-2004 , 03:00 PM



Look at pgadmin III (http://www.pgadmin.org/pgadmin3/index.php).

Sean

On Oct 12, 2004, at 3:56 PM, Daniel Lerch wrote:

Quote:
It occured to me that I might have an easier time learning PostgreSQL
if I start off with a GUI instead of just command line.
But I access the database over our LAN -- I'm on a Windows 2000 box,
and the psql database is on a Linux box. I've been accessing it by
running PuTTY.

So, my question is - is there a GUI program I can run off my Windows
2000 box that will allow me to access myt psql database on the Linux
box? Or do I have no choice but run the GUI on the Linux box?

Thanks,

-d

---------------------------(end of
broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
  #5  
Old   
Daniel Lerch
 
Posts: n/a

Default Re: possible to access a Linux box db from a Windows box - 10-12-2004 , 03:09 PM



I was looking at that earlier - couldn't tell if it was client-side or
server-side. Since you're pointing me to it, I'll assume it's
client-side and will try it out.

Also, re your other reply that there are many online SQL tutorials, and
asking where I am in the process: I guess I'm so new to things that I
didn't realize I should be looking for SQL tutorials, and not postgreSQL
tutorials (I searched for the latter, and they were all too
complicated). Sounds like I should start with SQL, and then move to
the postgreSQL-specific tutorials later when I'm ready to use more
advanced functions. I'll give that a shot, and email again if I run
into problems.

Thanks!
-d


Sean Davis wrote:

Quote:
Look at pgadmin III (http://www.pgadmin.org/pgadmin3/index.php).

Sean

On Oct 12, 2004, at 3:56 PM, Daniel Lerch wrote:

It occured to me that I might have an easier time learning PostgreSQL
if I start off with a GUI instead of just command line.
But I access the database over our LAN -- I'm on a Windows 2000 box,
and the psql database is on a Linux box. I've been accessing it by
running PuTTY.

So, my question is - is there a GUI program I can run off my Windows
2000 box that will allow me to access myt psql database on the Linux
box? Or do I have no choice but run the GUI on the Linux box?

Thanks,

-d

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #6  
Old   
Antoine
 
Posts: n/a

Default Re: possible to access a Linux box db from a Windows box - 10-12-2004 , 03:26 PM



On Tue, 12 Oct 2004 13:09:56 -0700, Daniel Lerch
<daniel (AT) mountainmeasurement (DOT) com> wrote:
Quote:
I was looking at that earlier - couldn't tell if it was client-side or
server-side. Since you're pointing me to it, I'll assume it's
client-side and will try it out.

Also, re your other reply that there are many online SQL tutorials, and
asking where I am in the process: I guess I'm so new to things that I
didn't realize I should be looking for SQL tutorials, and not postgreSQL
tutorials (I searched for the latter, and they were all too
complicated). Sounds like I should start with SQL, and then move to
the postgreSQL-specific tutorials later when I'm ready to use more
advanced functions. I'll give that a shot, and email again if I run
into problems.

Thanks!
-d

Sean Davis wrote:

Look at pgadmin III (http://www.pgadmin.org/pgadmin3/index.php).

Sean

On Oct 12, 2004, at 3:56 PM, Daniel Lerch wrote:

It occured to me that I might have an easier time learning PostgreSQL
if I start off with a GUI instead of just command line.
But I access the database over our LAN -- I'm on a Windows 2000 box,
and the psql database is on a Linux box. I've been accessing it by
running PuTTY.

So, my question is - is there a GUI program I can run off my Windows
2000 box that will allow me to access myt psql database on the Linux
box? Or do I have no choice but run the GUI on the Linux box?
Certainly ask your boss to make phppgadmin available for you to access
your pg db from anywhere in the world... it is a php-based script
library (is that the right way to put it?) that runs on the web
server. It kicks everything (including the kitchen sink!;-))! It is
extremely easy to use, and if you are a web kitten then is probably
even more intuitive than access. I have tried to use pgadminIII a bit
but it crashed on me quite a bit - not something I like (I am running
8.0.0beta3 on gentoo).
You really must give this a go, even if it is just at home on
something you set up yourself. Postgres has an excellent windoze
installer and I imagine apache and php also (never used them on doze).
You should be about 10 clicks away, if windoze is as low as I believe
it to be, from a working phppgadmin. If you want I will help you on
your way through (i wouldn't mind installing apache and php on my doze
partition, so can see how it's done, but you'd better have a go at
least first...) to get there.
Cheers
Antoine

--
G System, The Evolving GUniverse - http://www.g-system.at

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
  #7  
Old   
Ron St-Pierre
 
Posts: n/a

Default Re: Postgresql for Dummies? - 10-12-2004 , 03:31 PM



Daniel Lerch wrote:

Quote:
I need to learn how to work with PostgreSQL for work, but I am
*completely* unfamiliar with the program, almost completely unfamiliar
with databases (I've only worked with very basic databases in MS
Access), and relateively unfamiliar with using non-GUI programs.

In other words, I need a 'Postgresql for Dummies' book - something
that will start at the most basic level. The books I've seen out
there on Amazon.com and other places all seem to be aimed at
developers, though. Where can I go to get a basic, basic, BASIC
tutorial/guidebook for learning PostgreSQL?

Thanks,

Daniel Lerch
Portland, Oregon

---------------------------(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)


I suggest that you visit a bookstore and actually look at some of the
postgres books out there. I've got Practical Postgres (Worsley & Drake)
and it would probably be suitable for you. While many of these books are
aimed at developers quite a few of them also spell out a lot of the
basics too, so they'll tell you about SQL and how to use postgres. There
are a handful of beginner-intermediate postgresql books out there,
including Bruce Momjian's book Learning PostgreSQL (forgive me if I get
this wrong).

Also, pgAdminIII is a good gui tool for accessing postgres.

Ron



---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings



Reply With Quote
  #8  
Old   
Daniel Lerch
 
Posts: n/a

Default Re: Postgresql for Dummies? - 10-12-2004 , 03:54 PM



OK, I'll check that book out.

I tried running pgAdminIII, but when I tried to connect to my psql
server I got the error:
"SSL error: wrong version number"

I'll try to figure this out, but one thing it led me to was realizing
that I don't know what verision of psql I'm actually running, and I
don't know how to find out (I noticed that pgAdminIII is for postgreSQL
7.3 and 7.4). Is there a 'version' command within psql?

Thanks,
-d

Quote:
I suggest that you visit a bookstore and actually look at some of the
postgres books out there. I've got Practical Postgres (Worsley &
Drake) and it would probably be suitable for you. While many of these
books are aimed at developers quite a few of them also spell out a lot
of the basics too, so they'll tell you about SQL and how to use
postgres. There are a handful of beginner-intermediate postgresql
books out there, including Bruce Momjian's book Learning PostgreSQL
(forgive me if I get this wrong).

Also, pgAdminIII is a good gui tool for accessing postgres.

Ron



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org



Reply With Quote
  #9  
Old   
Ron St-Pierre
 
Posts: n/a

Default Re: Postgresql for Dummies? - 10-12-2004 , 04:07 PM



Daniel Lerch wrote:

Quote:
OK, I'll check that book out.

I tried running pgAdminIII, but when I tried to connect to my psql
server I got the error:
"SSL error: wrong version number"
An SSL error....?

Quote:
I'll try to figure this out, but one thing it led me to was realizing
that I don't know what verision of psql I'm actually running, and I
don't know how to find out (I noticed that pgAdminIII is for
postgreSQL 7.3 and 7.4). Is there a 'version' command within psql?
psql --version
psql (PostgreSQL) 7.4.1
contains support for command-line editing
or from within psql
select version();
version
---------------------------------------------------------------
PostgreSQL 7.4.1 on i686-pc-linux-gnu, compiled by GCC 2.95.4
(1 row)

If you've got an earlier version of postgres you can download the
appropriate pgAdmin version (pgAdminII probably), which used to be
available on the website http://pgadmin.postgresql.org/pgadmin2/downloads/

Ron

Quote:

Thanks,
-d

I suggest that you visit a bookstore and actually look at some of the
postgres books out there. I've got Practical Postgres (Worsley &
Drake) and it would probably be suitable for you. While many of these
books are aimed at developers quite a few of them also spell out a
lot of the basics too, so they'll tell you about SQL and how to use
postgres. There are a handful of beginner-intermediate postgresql
books out there, including Bruce Momjian's book Learning PostgreSQL
(forgive me if I get this wrong).

Also, pgAdminIII is a good gui tool for accessing postgres.

Ron




---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org




---------------------------(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
  #10  
Old   
Bruno Wolff III
 
Posts: n/a

Default Re: Postgresql for Dummies? - 10-12-2004 , 10:36 PM



On Tue, Oct 12, 2004 at 11:52:34 -0700,
Daniel Lerch <daniel (AT) mountainmeasurement (DOT) com> wrote:
Quote:
I need to learn how to work with PostgreSQL for work, but I am
*completely* unfamiliar with the program, almost completely unfamiliar
with databases (I've only worked with very basic databases in MS
Access), and relateively unfamiliar with using non-GUI programs.

In other words, I need a 'Postgresql for Dummies' book - something that
will start at the most basic level. The books I've seen out there on
Amazon.com and other places all seem to be aimed at developers, though.
Where can I go to get a basic, basic, BASIC tutorial/guidebook for
learning PostgreSQL?
You really want to read through the the documentation that comes with
Postgres. It is very good. Even if you don't understand everything at
first, you will at least be aware of what is documented and what kinds
of things Postgres can do, so that if you need something later you will
have an idea where to look.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



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 - 2013, Jelsoft Enterprises Ltd.