Re: [ADMIN] postgres xlog crashes - recovery procedure

2002-10-30 Thread Andrew Sullivan
lost your WAL. > Are there any postgres specific recovery procedures and /or documentation on how > to prevent such situations? The recovery in this case is pg_resetxlog. As for prevention, it depends on what happened. Any ideas? A -- Andrew Sullivan 204-41

Re: [ADMIN] Connection refused errors

2002-10-30 Thread Andrew Sullivan
> postgres[32066]: [288403] DEBUG: statistics collector process (pid > 14965) exited with exit code 1 You need to be able to connect on 127.0.0.1, or the stats collector can't start. Is that it? A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] Some silly questions

2002-10-30 Thread Andrew Sullivan
section of the manual for details. > and... do my questions sound stupid? ;-) No, but you might want to have a look at the manuals: there's a lot of info there. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario

[ADMIN] URGENT: undoing a mistake

2002-10-30 Thread Andrew Perrin
n why it worked? There is no survid column in participants, so I would have expected it to generate an error on the sub-select, not match all rows! Thanks for any help. ------ Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor o

Re: [ADMIN] URGENT: undoing a mistake

2002-10-31 Thread Andrew Perrin
often ap ------ Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Wed, 30 Oct 2002, Tom Lane wrote: > Andrew Perrin <[EMAIL PROTECTED]> writes

Re: [ADMIN] offsite warm backup suggestions?

2002-11-01 Thread Andrew Sullivan
nclear to me right now.) To find out the timetable to make eRServer work with 7.3, you should contact PostgreSQL, Inc. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMA

Re: [ADMIN] HA for high insert volume

2002-11-01 Thread Andrew Sullivan
hings that changed. But there is _certainly_ a window in which you could get an inconsistent snapshot, and then your backup would be completely useless. A high volume of write operations is a good way to cause the problem. A -- Andrew Sullivan 204

Re: [ADMIN] HA for high insert volume

2002-11-04 Thread Andrew Sullivan
On Mon, Nov 04, 2002 at 10:06:59AM -0500, Eric Comeau wrote: > Andrew > > 1) Would you use erServer in a non-DBA environment? I'm not sure what a non-DBA environment is -- _someone_ has to be running the database. But if your question is, "Does someone need to hold its hand

Re: [ADMIN] Postgres over stand-alone disk array?

2002-11-08 Thread Andrew Sullivan
for Postgres). Don't take my word for it, though, as I'm not a Postgres hacker. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] gmake check runs just 13 tests instead of 77

2002-11-12 Thread Andrew Sullivan
On Tue, Nov 12, 2002 at 03:55:55PM -0500, Tom Lane wrote: > > Hmm, maybe a portability problem in the pg_regress script ... but I > thought we'd already checked 7.3 on Solaris. Andrew, can you reproduce > this problem? It worked for me in the last beta; but someone reported th

Re: [ADMIN] gmake check runs just 13 tests instead of 77

2002-11-13 Thread Andrew Sullivan
p a different awk (there are two on Solaris), because I was also working on another problem during the same period. (I can try out this theory today, if I'm lucky enough to get a minute or two.) Bad dba! Test in a clean environment! I apologise. A -- Andrew Su

Re: [ADMIN] gmake check runs just 13 tests instead of 77

2002-11-18 Thread Andrew Sullivan
On Wed, Nov 13, 2002 at 07:56:38AM -0500, Andrew Sullivan wrote: > I'll bet it had to do with a funky path I had, though; probably I > picked up a different awk (there are two on Solaris), because I was > also working on another problem during the same period. (I can try For the

Re: [ADMIN] VACUUM

2002-11-20 Thread Andrew Sullivan
cuumed in that billion transaction period, but it is nevertheless probable that some of your tables will not need to be vacuumed as often as others. For efficiency's sake, therefore, you may want to vacuum different tables at different times. A -- Andrew Sullivan

[ADMIN] Deadlock Checker doesn't see foreign-key locks

2003-01-13 Thread Andrew Biagioni
It appears to me that the Deadlock Checker doesn't see (and thus release) foreign-key-based locks (see below for details). Am I missing something? Is there a configuration item I am unaware of? As far as I can tell (yes, I tested thoroughly) if I create a normal deadlock situation as follows, th

Re: [ADMIN] Deadlock Checker doesn't see foreign-key locks

2003-01-14 Thread Andrew Biagioni
Stephan Szabo wrote: On Mon, 13 Jan 2003, Andrew Biagioni wrote: It appears to me that the Deadlock Checker doesn't see (and thus release) foreign-key-based locks (see below for details). Am I missing something? Is there a configuration item I am unaware of?

Re: [ADMIN] OT: seeking query help, where?

2003-01-17 Thread Andrew Perrin
ables. -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Thu, 16 Jan 2003, Tim Lynch wrote: > First, sorry for the OT, flame me off-list! > > I'm a sysadmin b

Re: [ADMIN] OT: seeking query help, where?

2003-01-17 Thread Andrew Perrin
Hey, thanks - nice to learn something. ap -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On Fri, 17 Jan 2003

Re: [ADMIN] Installing on Sun machine

2003-01-20 Thread Andrew Sullivan
ime to poke at your LD_LIBRARY_PATH, and make sure that you actually have readline installed. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]>

[ADMIN] Deadlock Checker doesn't see foreign-key locks

2003-01-20 Thread Andrew Biagioni
It appears to me that the Deadlock Checker doesn't see (and thus release) foreign-key-based locks (see below for details). Am I missing something? Is there a configuration item I am unaware of? As far as I can tell (yes, I tested thoroughly) if I create a normal deadlock situation as follows,

Re: [ADMIN]

2003-01-20 Thread Andrew Biagioni
nds accept a "-U " parameter that lets you specify what user you want to run the command as (postgreSQL user, that is, not linux user) ). Bottom line: the simple solution is to su (to root), then su to postgres, then do what you need to do - create real users for the DB, possibly on

Re: [ADMIN] Stalled post to pgsql-admin

2003-01-21 Thread Andrew Biagioni
Be careful with your pg_hba.conf entries (read the comments in the file itself, they are lengthy but useful).  What you configured (below) will allow anyone to connect to your database from any machine without validation, as long as their IP address has the first two blocks equal to your machin

Re: [ADMIN] Replication

2003-01-23 Thread Andrew Sullivan
t we want to replicate > from one Master to one slave, but in the near future it seems that > the environment would extend to about five slaves. We are currently using eRServer for the .info registry, and starting next week it will also underpin the .org registry. Dunno if that's g

Re: [ADMIN] Failed to compile 7.3.1 under Sol7 - can't find libz.so (I think)

2003-01-22 Thread Andrew Sullivan
e following error: > ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory Is that a failure on zlib? If you do (just guessing) --without-zlib does it help? A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS To

Re: [ADMIN] How can I make note of time taken by each query to execute in Triggers

2003-01-22 Thread Andrew Biagioni
queries as well, that will allow you to distinguish what is taking how long. Andrew 1/22/03 11:20:15 PM, "shreedhar" <[EMAIL PROTECTED]> wrote: >Hi All, >I would like read time taken by each query in my triggers. >so i created a temporary table and in

Re: [ADMIN] Replication

2003-01-27 Thread Andrew Sullivan
On Mon, Jan 27, 2003 at 07:38:29PM +0100, Gaetano Mendola wrote: > > the eRServer is for free or not ? "Not", as far as I know. Its baby cousin is in contrib/rserv in the source tree. I haven't tested it with 7.3, so I don't know whether it works. A

Re: [ADMIN] Lost connections

2003-01-30 Thread Andrew Sullivan
u could lower your TCP timeout, I guess, but I believe the TCP/IP authorities say this is a Bad Idea. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]>

Re: [ADMIN] postgres access log file

2003-02-28 Thread Andrew Perrin
Use your postgresql.conf file to enable logged connections: log_connections = on -- Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED

Re: [ADMIN] OOT-Does PostgreSQL has commercial level.

2003-03-14 Thread Andrew Sullivan
f _Practical PostgreSQL_ discusses various "versions", one of which is the Command Prompt PostgreSQL. That may be the source of confusion. (My copy is at the office, and probably on someone else's desk, so I can't check right now.) A -- Andrew Sullivan

Re: [ADMIN] Performance problems with Postgresql

2003-03-20 Thread Andrew Biagioni
, is just says "query was cancelled" or something like that). If you can post printouts of log files, probably people more competent than myself can help you figure out the details of your problems.         Andrew Ben Jordan wrote: Message I'm very new to all this so I a

Re: [ADMIN] pg_dump version conflict

2003-03-26 Thread Andrew Sullivan
7;m afriad not. The techdocs.postgresql.org site has some suggestions, though. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Outer Join

2003-04-02 Thread Andrew Biagioni
All the docs. are in: http://www.postgresql.org/docs/ If you select "Interactive Documentation" you can do searches (recommended for your specific question), otherwise you can go to "Static Documentation" and look up the syntactic details of "SELECT". Andrés Repossi wrote: Hi, I'm trying to

Re: [ADMIN] Did I something wrong?

2003-05-27 Thread Andrew Biagioni
You are not transparent, although you do seem to be somewhat sensitive. I saw at least one posting from you that was answered by 2 different people. If you got no answers to your questions, it may be that: - nobody who knew the answer saw your posting (there are lots of postings, and not many p

Re: [ADMIN] Identifying databases.

2003-05-30 Thread Andrew Sullivan
On Thu, May 29, 2003 at 09:36:55AM +0530, rakesh wrote: > How can the numbers be resolved to names? contrib/oid2name A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PRO

Re: [ADMIN] Yet another postgres scaling question (use on AMD Opteron)

2003-06-01 Thread Andrew Sullivan
en't used Opterons, but I'm curious how that argument works. I've never seen any evidence that MySQL is better with large databases than PostgreSQL; am I just out of touch? A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] defined max length

2003-06-08 Thread Andrew Biagioni
I recommend you look at chapter 5, "Data Types", of the PostgreSQL User's Guide. [EMAIL PROTECTED] wrote: Hello ALL. Where can I find (and set if need) all defined max length restrictions of PostgreSQL server. for example, max lenght of VARCHAR, or any variable-length array, or max query len

Re: [ADMIN] Starting postmaster as a service (newbie)

2003-06-08 Thread Andrew Sullivan
On Thu, Jun 05, 2003 at 10:12:25AM -0400, Vinay wrote: > figured that it is because I have to do the init db everytime this I don't know anything about the Cyg Win installation, but you _don't_ need to do initdb every time: that creates a new data area. A An

Re: [ADMIN] No acceptable C compiler found

2003-06-08 Thread Andrew Sullivan
s like you don't have a C compiler in your $PATH. You need one, or you can't compile C programs. Install one, or adjust your $PATH to include it. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toront

Re: [ADMIN] Syncing DBs prior to RServ replication

2003-06-20 Thread Andrew Sullivan
y dump, and then immediately afterward create the > replication tables in the master. Since the dump is transactional (is it?), You might miss something this way. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada

Re: [ADMIN] Tracing used SQL statments

2003-06-25 Thread Andrew Perrin
he general postgres.log, /var/log/postgres.log on my system. ap ------ Andrew J Perrin - http://www.unc.edu/~aperrin Assistant Professor of Sociology, U of North Carolina, Chapel Hill [EMAIL PROTECTED] * andrew_perrin (at) unc.edu On W

Re: [ADMIN] PostgreSQL settings for 12GB RAM

2003-07-07 Thread Andrew Sullivan
lly concluded that once the buffer was full, managing it was making the system crawl. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Kill Process ERROR !!!

2003-07-08 Thread Andrew Sullivan
On Wed, Jul 09, 2003 at 09:52:38AM +, aris wendy wrote: > > I want to kill process no 582, I use kill -9 582 but all user become > disconnect look at below Try kill -2. A -- ---- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] Installazione Postgres

2003-07-13 Thread Andrew Biagioni
Monica, Come ha suggerito Gaetano Mendola, per quanto ho visto tutti gli utenti di questa lista comunicano in inglese; e sicuramente, la maggior parte di quelli che hanno le risposte sembrano non avere nomi italiani. Se hai gia` trovato la risposta al tuo problema, benissimo. Se no: se il

Re: [HACKERS] [ADMIN] problems with pg_restore

2003-07-16 Thread Andrew Biagioni
unt it a vote in favor. regards, tom lane ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org         Andrew Biagioni

Re: [ADMIN] Database growth problem

2003-07-18 Thread Andrew Sullivan
ze! Could be that your free space map is too small; on 7.2, the default is at least an order of magnitude too small. Also, perhaps you need to reindex: the btrees in Postgres have a nasty habit of growing without bound. (That's fixed in current CVS sources.) A -- Andrew Sulliva

Re: [ADMIN] Database growth problem

2003-07-19 Thread Andrew Biagioni
7/18/03 10:06:29 AM, "scott.marlowe" <[EMAIL PROTECTED]> wrote: >On Thu, 17 Jul 2003, mlaks wrote: > >> Hi, >> >> I have about 15 different PC's running RedHat 7.3 Linux, each running the >> same database backed application (I use Postgresql 7.2.1 for the database) >> on each machine. > >Upg

Re: [ADMIN] Replication/Failover/HA solution

2003-07-22 Thread Andrew Sullivan
stand that, but it's definitely battle-tested. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Replication/Failover/HA solution

2003-07-22 Thread Andrew Biagioni
7/22/03 3:32:03 PM, Andrew Sullivan <[EMAIL PROTECTED]> wrote: >On Mon, Jul 21, 2003 at 06:11:15PM -0400, Renney Thomas wrote: >> I am having a hard time selecting a Replication/Failover/HA solution for >> PGSQL. What is troubling is the number of solutions available in

Re: [ADMIN] Replication/Failover/HA solution

2003-07-22 Thread Andrew Sullivan
On Tue, Jul 22, 2003 at 05:25:28PM -0400, Andrew Biagioni wrote: > Sorry -- by "production", what release version do you mean? eRServer v1.0 A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <

Re: [ADMIN] Replication/Failover/HA solution

2003-07-23 Thread Andrew Sullivan
test your solution and thanks for > making it available to the public. Don't thank me -- it's PostgreSQL, Inc. that's releasing it, 'cause it's their code. I'm just a waterboy. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] PG 7.3.3 startup problem

2003-07-30 Thread Andrew Sullivan
http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-boot At base, however, you want to use one of the sample rc scripts into /etc/rc[n].d , and make a symlink to it from /etc/init.d. I believe the details are covered in the section of the doc I mention above. A

Re: [ADMIN] recovery from a bad transaction log

2003-07-30 Thread Andrew Sullivan
? Well, I'm not too sure how correct that is (how do you know _all_ the data is there), but you could try pg_resetxlog. I'd go looking for data in an inconsistent state afterwards, though. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] PG 7.3.3 startup problem

2003-07-30 Thread Andrew Sullivan
On Wed, Jul 30, 2003 at 01:23:25PM -0400, Andrew Sullivan wrote: > > At base, however, you want to use one of the sample rc scripts into > /etc/rc[n].d , and make a symlink to it from /etc/init.d. I believe Doh! The other way around, actually. Boy, it's embarassing tripping

Re: [ADMIN] storage calculations

2003-07-31 Thread Andrew Sullivan
ions of tracking as determined by your FSM settings. VACUUM FULL actually shortens the data file. Except for cases having to do with large tuples that won't fit in the previous page, VACUUM FULL means that you can't fit any more data in that file, once the VACUUM FULL is done. A --

Re: [ADMIN] storage calculations

2003-07-31 Thread Andrew Sullivan
. > available until i do a full vacuum, correct? (at which time the > file size(s) will indicate the amount being used) That's right, yes. > just started looking at fsm. thanks for the pointer there. i hope > i'm not acting too obtuse here. Nope. If you don't ask, you

Re: [ADMIN] Starting PostgreSQL server as root

2003-08-01 Thread Andrew Sullivan
On Thu, Jul 31, 2003 at 12:00:49PM -0700, Daniel Gerardo Lucero Baylon wrote: > Does exist a way to start Postgre as root? su -c "your command here" postgres A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, O

Re: [ADMIN] Incremental Backup

2003-08-21 Thread Andrew Sullivan
there on the server. Not at the moment. You could use a replication system to solve this for you, though. See contrib/rserv, the recent improvements to rserv available on gborg (I haven't used them), contrib/dbmirror, or the soon-to-be-released _other_ improvements to contrib/rserv. A -- ---

Re: [ADMIN] DBMirror - Replicating binary objects of type bytea ?

2003-08-21 Thread Andrew Sullivan
ions on fail over: 1. Make sure your sequences are up to date. This is the sort of thing you need to build a script for in advance. 2. It's good to have a policy about how much data you can afford to lose. If the answer is, "none", you need to invest in some very expensive h

Re: [ADMIN] Disk Utilization Increases And Time for Vacuum Increases.

2003-08-26 Thread Andrew Sullivan
n't be recycled for others to use. There is no choice but to reindex certain indexes. You can use pgstattuple and oid2name to get some idea of what is taking all the space, and thereby be selective. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS

Re: [ADMIN] postgresql and replication

2003-08-26 Thread Andrew Sullivan
me time late this afternoon (uh, EDT), I think you'll stumble on it. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] postgresql and replication

2003-08-28 Thread Andrew Sullivan
ing didn't get changed. We can fix that. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Can not deleted all record

2003-08-29 Thread Andrew Biagioni
completely (queries will run as long as they need to). Andrew 8/29/03 2:35:04 AM, "Yudha Setiawan" <[EMAIL PROTECTED]> wrote: > > > From: "Yudha Setiawan" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > Subject:[ADMI

Re: [ADMIN] postgresql and replication

2003-09-02 Thread Andrew Sullivan
lift told me why -- I just need to fix it. You can get the xerces jar file independently for the time being if need be. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]>

Re: [ADMIN] eRserver

2003-09-02 Thread Andrew Sullivan
t's my fault. I'll fix it. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Replication

2003-09-02 Thread Andrew Sullivan
r unique indexes on two columns: say, the row id (just a type serial) plus a server id (which was static for everything in that database), There are plenty of practical problems with such a scheme, and it seems to me a little fragile, but it'd work. A -- Andrew Sullivan

Re: [ADMIN] postgresql and replication

2003-09-11 Thread Andrew Sullivan
ely and I'm behind on my list responses.) A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

[ADMIN] Cross-DB linking?

2003-09-11 Thread Andrew Biagioni
d users grow, be able to distribute the computing/storage/memory load among various machines rather than have to upgrade the hardware Thanks in advance! Andrew ---(end of broadcast)--- TIP 9: the planner will ignore your desire to

Re: [ADMIN] Cross-DB linking?

2003-09-11 Thread Andrew Biagioni
Thanks -- I haven't looked at schemas, I guess I will now :-). As for stability -- I was referring to the hardware breaking down, not Postgresql! Andrew 9/11/03 5:24:50 PM, "scott.marlowe" <[EMAIL PROTECTED]> wrote: >You might want to consider using schemas to

Re: [ADMIN] Row locking during UPDATE

2003-09-12 Thread Andrew Sullivan
experience) because the holding table will gradually build up a lot of dead tuples. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMAIL PROTECTED]> M2P 2A8

Re: [ADMIN] Row locking during UPDATE

2003-09-12 Thread Andrew Sullivan
f design, but I think it was because we had some transactions which ran long and depended on the summarised results. But if it works for you, great. A -- Andrew Sullivan 204-4141 Yonge Street Liberty RMS Toronto, Ontario Canada <[EMA

[ADMIN] NT client issues

2000-03-12 Thread Andrew Perrin - Demography
mechanisms (crypt, password, sameuser, etc.) cause a "permission denied" failure. The same script works fine under solaris. Any ideas? Thanks. ----- Andrew J. Perrin - [EMAIL PROTECTED] - NT/Unix Admin/Support Dep

Re: [ADMIN] User permissions

2000-03-16 Thread Andrew Perrin - Demography
, for example, access to our departmental database run as 'dtwww' (a user without a shell), and use the above to create the user not as nobody but as dtwww. hope this helps. ----- Andrew J. Perrin - [EMAIL PROTECTED] - NT/Uni

[ADMIN] pg security problem (fwd)

2000-03-22 Thread Andrew Perrin - Demography
st_name) values ('perrin'); INSERT 964544 1 demogdata=> \q - Andrew J. Perrin - [EMAIL PROTECTED] - NT/Unix Admin/Support Department of Demography-University of California at Berkeley 2232 Piedmont Avenue #2120 -

[ADMIN] Need some shmget advice

2000-04-12 Thread Hamilton, Andrew Mr.
Architecture: Solaris 2.6 Sparc Compiler: gcc 2.95.1 postgres versionpostgres-v6.5.3 I am getting this no matter what value I pass to postmaster -B. There is something else going on here. I did have some problems with the compile but got the problems worked out. Any suggestions

Re: [ADMIN] sequence

2000-04-18 Thread Andrew Perrin - Demography
no danger of a race condition (another user creating a record in the time between your creating the record and calling currval); BUT - You must be using the same backend as you did on the creation. Hope this helps. ----- Andrew J.

Re: [ADMIN] gzip, gcc, gmake utilities to install POSTGRES on solaris ???

2000-09-12 Thread Andrew Perrin - Demography
http://www.sunfreeware.com/faq.html#q0 gives details on getting gzip onto your system. There are also copious instructions on how to install everything. - Andrew J. Perrin - [EMAIL PROTECTED] - NT/Unix Admin/Support Department

[ADMIN] Adding multiple instances to 7.4

2004-08-10 Thread Andrew J Delamare
he thought was that we could put them all onto one high availability machine as instances under 1 postgres install. Is there any documented way of doing that or does anyone have experience of doing that they would like to share with me. Any information is appreciated. Regards -- Andrew Delamare

[ADMIN] base backup requirements for PITR

2012-11-28 Thread Andrew W. Gibbs
Postgres Admin Wizards, I am trying to manage an 8.4 database whose ingest rate is sufficiently high that doing base backups on it causes it to fall unacceptably behind. To deal with this, I want to do WAL shipping to another server that is in warm standby mode, and then on that server perform th

Re: [ADMIN] purpose/use of pg_start_backup() pg_stop_backup()

2013-04-06 Thread Andrew W. Gibbs
These functions aren't actually doing anything overly magical. They don't cause you to end up with a "nice clean snapshot", at least not right away. They're mostly just helping with the housekeeping tasks of making sure that in the future you have kept around the WAL segments that will be necessar

Re: [ADMIN] Least intrusive way to move primary data

2013-05-30 Thread Andrew W. Gibbs
Going with your first option, a master->slave replication, has the added benefit that you build the expertise for doing Continuous Point In Time Recovery, and after you do this storage system migration you can use that knowledge to put in a place a permanent standby server. Yes, it is a bit of work

Re: [ADMIN] grant access

2001-11-20 Thread Andrew G. Hammond
, user_name; EXECUTE ''GRANT '' || privilidge || '' ON '' || row.relname || '' TO '' || user_name; END LOOP; RETURN ''t''; END;' LANGUAGE 'plpgsql'; SELECT multi_grant('select'

Re: [ADMIN] Creating schema in postgres

2001-11-28 Thread Andrew G. Hammond
ner_idx ON pet(owner); Anyway, I hope this is enough to get you pointed in the right dirrection. Feel free to ask me for more details. - -- Andrew G. Hammond mailto:[EMAIL PROTECTED] http://xyzzy.dhs.org/~drew/ 56 2A 54 EF 19 C0 3B 43 72 69 5B E3 69 5B A1 1F 613-389-5481

Re: [ADMIN] user permissions and super user

2001-12-05 Thread Andrew G. Hammond
e database system. That stuff can be controlled by GRANT and REVOKE. - -- Andrew G. Hammond mailto:[EMAIL PROTECTED] http://xyzzy.dhs.org/~drew/ 56 2A 54 EF 19 C0 3B 43 72 69 5B E3 69 5B A1 1F 613-389-5481 5CD3 62B0 254B DEB1 86E0 8959 093E F70A B457 84B1 "To blow recursi

Re: [ADMIN] table permissions

2001-11-26 Thread Andrew G. Hammond
displays the query used by psql to list permissions in the filesystem: SELECT relname as "Relation", relacl as "Access permissions" FROM pg_class WHERE relkind in ('r', 'v', 'S') AND relname !~ '^pg_' ORDER BY

Re: [ADMIN] [HACKERS] upper and lower doesn't work with german

2001-11-27 Thread Andrew G. Hammond
x, it is /usr/lib/postgresql/bin/pg_controldata You should be able to find it quickly using % locate pg_controldata Alternately, if your system isn't properly maintained (and, unless you've got some seriously nice hardware, this will take some time: grab a coffee while you wait...), try %

Re: [ADMIN] All users can enter as one user "puser" without

2001-12-17 Thread Andrew G. Hammond
ill be granted access as user "puser". >ANY IDEAS? Have each user log in from the same UNIX account. Instead of trying to make all users into one user, which is almost never a good idea, why not just use the PUBLIC concept in the database's access control system? Give ea

Re: [ADMIN] How do I vacuum safely? And how often should I reindex

2001-12-17 Thread Andrew G. Hammond
ome new stuff to deal with this issue. > and how will 7.2 be different, I remember a background vacuum > being discused, what other great things are there waiting in > the wings Er... RTFM: http://developer.postgresql.org/todo.php stuff that's slated for 7.2 has a - in fro

Re: [ADMIN] Resetting connection errors and incomplete restores.

2001-12-17 Thread Andrew G. Hammond
ipe > ERROR: copy: line 1, Cannot insert a duplicate key into unique index > rox_group_graph_pkey > FATAL 1: Socket command type \ unknown > ERROR: copy: line 1, Cannot insert a duplicate key into unique index > rox_granted_permission_pkey > pq_flush: send() failed: Broken pipe > F

[ADMIN] Control File Context is Broken

2002-01-11 Thread Andrew M. Danneffel
ry and activate the postmaster, back up the DB, and try creating a new one. However, postmaster would not launch either, and I was prompted with the same error above. I'm not quite sure what I need to do to repair this problem. If someone could give me some direction it would be very

<    1   2   3   4