Grokbase
Topics Posts Groups | in
x
[ help ]

Carol Walter (wa...@indiana.edu)

Profile | Posts (24)

User Information

Display Name:Carol Walter
Partial Email Address:wa...@indiana.edu
Posts:
24 total
24 in PostgreSQL - Admin
1 in PostgreSQL - Advocacy
1 in PostgreSQL - General

5 Most Recent

All Posts
1) Carol Walter pg_dump question
| +1 vote
Hello- I'm trying to do an upgrade of version 8.1 to 8.2.3. The restore is failing because of some...
PostgreSQL - Admin
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hello-

I'm trying to do an upgrade of version 8.1 to 8.2.3.  The restore is  
failing because of some code that is in some views.  If I dump the  
just the schema and then dump just the data, will the views be included?

Carol
2) Carol Walter Help with command syntax?
| +1 vote
Greetings, Can someone help me with the syntax for running a postgres function from the within...
PostgreSQL - Admin
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Greetings,

Can someone help me with the syntax for running a postgres function  
from the within psql?  I need to know the size of several databases.   
The postgres documentation says there is a function that will do what  
I need.  The function is pg_database_size(name).  I tried select  
pg_database-_size(km).  The response I get says there is no column  
"km".  I think I must be using the wrong syntax, but haven't found a  
reference to what the correct syntax is.

Thanks,
Carol Walter
3) Carol Walter Re: max connections per user
| +1 vote
Yes, you can use the connection limit parameter when you create or alter a user. Carol > TIP 6:...
PostgreSQL - Admin
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Yes, you can use the connection limit parameter when you create or  
alter a user.

Carol

On Nov 12, 2007, at 10:39 AM, [email protected: beluc.ma...@free.fr] wrote:

> hi,
>
> i would like to know if it is possible to limit the number of
> connections per
> user.
>
> if postgresql.conf, i just see a "max connections" parameter but
> it's a global
> parameter.
>
> i think i can do this using iptables, but i would be more
> convenient to do this
> in pg.
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
4) Carol Walter Security Query
| +1 vote
Is there a query I can run that will tell me what access my users have to various database objects?...
PostgreSQL - Admin
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Is there a query I can run that will tell me what access my users  
have to various database objects?

Thanks,
Carol Walter
5) Carol Walter Re: How to update from 8.1 to 8.2 ?
| +1 vote
Chris, Perhaps I wasn't clear on what we did. We loaded the 8.2 and got it running on a different...
PostgreSQL - Admin
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Chris,

Perhaps I wasn't clear on what we did.  We loaded the 8.2 and got it  
running on a different zone on the same machine running Solaris.  I  
should have said we did a pg_dumpall using the 8.1 data.  ( I know  
there is a big difference.)  Anyway, I did the pg_dumpall (using the  
correct version, the new version.) of the live data and uploaded it  
to the 8.2 instance.  The 8.1 instance was still running.  Both  
systems automount the same dirs.  We were able to put the data from  
the 8.1 instance onto a directory that the 8.2 instance could see,  
which made the cut over very quick and the production system just had  
to be down long enough to stop and restart.  I had already modified  
the conf files and we didn't blow them away so we were good to go.  I  
just froze data entry from when I started the dump until the new  
instance was available.  That meant people could still select data  
from the website.  After the 8.2 instance was up and running and  
everything looked like in came over correctly, we shut down the 8.1  
instance.

Sorry about the confusion.

Carol


On Sep 20, 2007, at 2:06 PM, Chris Hoover wrote:

>
>
> On 9/20/07, Carol Walter <walterc@indiana.edu> wrote:
> We just did this. I did a pg_dumpall using 8.1. Then we fired up
> 8.2 while 8.1 was still running. Uploaded the data to 8.2. Then
> shut 8.1 down. This allowed us to have the database unavailable for
> a very short time.
>
> Carol
>
>
> Carol,
>
> If this is truely what you did, you are a very lucky person. You
> are always supposed to dump the old database using the new versions
> pg_dump/pg_dumpall. That way, pg_dump/pg_dumpall can set up the
> data for any changes made by the newer version.
>
> Just an fyi for those following this thread.
>
> HTH,
>
> chris
>
>

spacer
Profile | Posts (24)
Home > People > Carol Walter