Re: [GENERAL] pg_get_serial_sequence Strangeness/Unreliable?

2008-12-03 Thread Jeff MacDonald
ALTER SEQUENCE OWNED BY worked! Thanks folks. jeff. On 26-Nov-08, at 1:04 PM, Alvaro Herrera wrote: Jeff MacDonald wrote: Hi Tom, so far as I know the table "owns" the serial in so much as when i do a \d of the table it says this status_id | integer | not nu

Re: [GENERAL] pg_get_serial_sequence Strangeness/Unreliable?

2008-11-26 Thread Jeff MacDonald
On 25-Nov-08, at 10:51 AM, V S P wrote: Did you first insert into public.news_status insert into public.news_status (status_id) values (DEFAULT) and then get the sequence? Hi VSP I'm not sure what relevance this has, a sequence already exists whether you insert into it or not. Just som

Re: [GENERAL] pg_get_serial_sequence Strangeness/Unreliable?

2008-11-26 Thread Jeff MacDonald
On 25-Nov-08, at 10:44 AM, Tom Lane wrote: Jeff MacDonald <[EMAIL PROTECTED]> writes: The issue, is that when I run pg_get_serial_sequence on a particular table/column it returns NULL. Does the column actually own that sequence? Or is its default just something that was inserted ma

[GENERAL] pg_get_serial_sequence Strangeness/Unreliable?

2008-11-25 Thread Jeff MacDonald
as_associations=> select pg_get_serial_sequence('news_status','test_id'); pg_get_serial_sequence public.news_status_test_id_seq (1 row) So my new column works. The only next step I could think of was to compare my 2 sequences with \d, turns out

Re: [GENERAL] Solaris 10, mod_auth_pgsql2

2007-11-01 Thread Jeff MacDonald
Yup, this was in thanks ! Jeff. On 1-Nov-07, at 2:27 PM, Tom Lane wrote: Jeff MacDonald <[EMAIL PROTECTED]> writes: sandbox# /opt/csw/apache2/sbin/apxs -i -a -c -l /opt/csw/postgresql/ I think you want -I not -l in front of that include path ... regards, to

[GENERAL] Solaris 10, mod_auth_pgsql2

2007-11-01 Thread Jeff MacDonald
: empty declaration cc: acomp failed for mod_auth_pgsql.c apxs:Error: Command failed with rc=65536 Now the strange thing is this sandbox# ls -l /opt/csw/postgresql/include/libpq-fe.h -rw-r--r-- 1 root bin17983 Feb 16 2007 /opt/csw/ postgresql/include/libpq-fe.h I'm not that great wi

Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Jeff MacDonald
On 5/15/07, Alvaro Herrera <[EMAIL PROTECTED]> wrote: Jeff MacDonald escribió: > On 5/15/07, Joshua D. Drake <[EMAIL PROTECTED]> wrote: > >Jeff MacDonald wrote: > >> Hi, > >> > >> I think the subject says it all. I need to install contrib/xml fro

Re: [GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Jeff MacDonald
On 5/15/07, Joshua D. Drake <[EMAIL PROTECTED]> wrote: Jeff MacDonald wrote: > Hi, > > I think the subject says it all. I need to install contrib/xml from > the 7 series, not contrib/xml2 from the 8 series. > > See below for my attempted build > > http://www.suite

[GENERAL] Compile problems with contrib/xml in 7 series

2007-05-15 Thread Jeff MacDonald
garnered from experience or pulled out of my ass, depending on situational needs.. Jeff MacDonald ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [GENERAL] a bug, now(), default CURRENT_TIME, WAL Logs.

2005-10-06 Thread Jeff MacDonald
Hi Folks, Well I think i had 'now' in there in someplaces and that got parsed. I've fixed it in all databases on my system now, so doing forward I'm safe. However there is a 2 week period in which the dates for some items are not what they should be. Of course they should be "now()" whenever now

[GENERAL] a bug, the bugs list, and how to break the website search.

2005-10-04 Thread Jeff MacDonald
x27;2005-10-03 17:14:25.581388-04'::timestamp with time zone Which means it's interpreting the now() instead of just copying it. Kind of a pain when I just restored 75 databases with many many "default now()'s" as you can imagine. Thanks in advance.

Re: [GENERAL] Diskspace

2004-12-20 Thread Jeff MacDonald
:01:32 -0300, Alvaro Herrera <[EMAIL PROTECTED]> wrote: > On Mon, Dec 20, 2004 at 09:57:35AM -0400, Jeff MacDonald wrote: > > > # select relname,relfilenode,relpages from pg_class where relfilenode > > = 13312279; > > relname | relfilenode | relpages >

Re: [GENERAL] Diskspace

2004-12-20 Thread Jeff MacDonald
know that email_log is 100% deleteable, so I'll proceed with hosing that. Does all this sound reasonable ? Jeff. On Mon, 20 Dec 2004 10:51:32 -0300, Alvaro Herrera <[EMAIL PROTECTED]> wrote: > On Mon, Dec 20, 2004 at 09:48:57AM -0400, Jeff MacDonald wrote: > > I'm using

Re: [GENERAL] Diskspace

2004-12-20 Thread Jeff MacDonald
I'm using 7.3.4 Jeff. On Mon, 20 Dec 2004 10:48:18 -0300, Alvaro Herrera <[EMAIL PROTECTED]> wrote: > On Mon, Dec 20, 2004 at 09:39:15AM -0400, Jeff MacDonald wrote: > > Hi, > > > select * from pg_statio_user_tables where relid = 13312283; > > See the pg

Re: [GENERAL] Diskspace

2004-12-20 Thread Jeff MacDonald
Hi, We after some more reading I learned that this huge file is my TOAST table.. Is there a way to schrink that down ? Thanks. Jeff. On Mon, 20 Dec 2004 09:39:15 -0400, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > Hi, > > I have a database that is about 3.5 gigs big. And

[GENERAL] Diskspace

2004-12-20 Thread Jeff MacDonald
i told me which table i was looking for. So I guess my question is, how do i find out what 13312283.* are, are they safe to delete ? Will a dump/reload fix things up ? I'm trying a vacuum now, as well i checked the queries in pg_statio_all_tables too. Thanks. -- Jeff MacDonald http://ww

[GENERAL] weird issues with plpgsql calls.

2004-10-04 Thread Jeff MacDonald
sd5.1, compiled by GCC gcc (GCC) 3.2.2 [FreeBSD] 20030205 (release) -- Jeff MacDonald http://www.bignose.ca ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

[GENERAL] regular backups - super user

2003-10-30 Thread Jeff MacDonald
Hi, WHen i run pg_dumpall as the super user [postgres in my case] it asks for a password for every database. I don't know my users passwords. Is there a way to make the super user able to backup without passwords ? Thanks. Jeff. ---(end of broadcast)---

[GENERAL] creating index's on functions.

2003-10-06 Thread Jeff MacDonald
Hi, I have a table, where one of the columns "extradata" is a gob of XML. I'd like to be able to create an index on this function.. so i tried this CREATE INDEX actitemsXML_idx ON act_items (pgxml_xpath(extradata,'//RequestInfo/refund_id/text()','','')); And i got this nice little error ERROR:

[GENERAL] Request for Input [PostgreSQL Merchandise]

2001-03-26 Thread Jeff MacDonald
Greetings All, At PostgreSQL Inc. we wish to expand our elephant gear product line. Your input would be greatly appreciated so please surf over to http://www.pgsql.com And take our quick poll on what you would like to see for sale on our site. Thanks Everyone. Jeff MacDonald

Re: [GENERAL] Printing PostgreSQL reports

2001-02-22 Thread Jeff MacDonald
ell me how I might format > a PostgreSQL report to a web page so that it will print discrete, sequenced > pages? > > Thanks, > Richard Ehrlich > Jeff MacDonald, - PostgreSQL Inc | Hub.Org Networking S

Re: [GENERAL] Installing Postgresql 7 on either RaQ3i or RaQ2

2001-02-05 Thread Jeff MacDonald
n't believe > installing PostgreSQL affects that part. > > I'm not sure about RaQ3i though. However, in a theory if the > PostgreSQL part of the GUI has been installed in none standard place > (that is /usr/local/pgsql), it should not harm pre-installed > PostgreSQL to install ne

Re: [GENERAL] Postgres demographics?

2000-12-14 Thread Jeff MacDonald
which just happens to be a sym link all to the same dir :) jeff On Mon, 11 Dec 2000, Tim Barnard wrote: > > > > > We have some demographics available at http://www.pgsql.com/user_gallery > > > > > I believe what was intended was: > > http://www.pgs

Re: [GENERAL] Postgres demographics?

2000-12-11 Thread Jeff MacDonald
am glad I > made the switch and would not consider using MySQL for any but the > simplest and least likely to grow project. > > Hats off to -core and to other developers as well as to the community. > We have a Good Thing. > > gh > Jeff MacDonald, -

Re: [GENERAL] Very queer errors with Postgres/PHP

2000-11-26 Thread Jeff MacDonald
i actually figured this out.. it was a byproduct of some othere errors the client negelected to tell me he was experiencing :) jeff On Thu, 23 Nov 2000, Tom Lane wrote: > Jeff MacDonald <[EMAIL PROTECTED]> writes: > > Warning: PostgreSQL query failed: ERROR: Attribute &

[GENERAL] Features

2000-04-10 Thread Jeff MacDonald
nd lots of people willing to throw cash into it. 3: don't think it's been asked, but does postgresql have any XML support, or has anyone looked into it ? Jeff MacDonald [EMAIL PROTECTED]

[GENERAL] \i - users

2000-04-05 Thread Jeff MacDonald
not pgsql Jeff MacDonald [EMAIL PROTECTED]

Re: [GENERAL] doing backups

2000-04-03 Thread Jeff MacDonald
s. > > I missed the first half of this, but, if I have understood correctly, I > don't think this is the case: you can do automated backups by doing > > echo -e 'username\npassword\n' | pg_dump -u databasename > > > > Yours, > Moray > > > > Jeff MacDonald [EMAIL PROTECTED]

[GENERAL] sql92

2000-04-02 Thread Jeff MacDonald
quick question SQL-92 - is this an ansi standard ? Jeff MacDonald [EMAIL PROTECTED]

[GENERAL] doing backups

2000-03-30 Thread Jeff MacDonald
100% within their right. However that makes it a pain for postgres to do pg_dumps. Now if you make pgsql user and postgresql analgous to root and unix, the postgres user shouldn't need a passwd. anyone care to discuss this topic ? Jeff MacDonald [EMAIL PROTECTED]

[GENERAL] PostgreSQL Book

2000-03-29 Thread Jeff MacDonald
If anyone else is interested in writing a PostgreSQL book please contact [EMAIL PROTECTED] Jeff MacDonald [EMAIL PROTECTED]

[GENERAL] (Fwd) open source article (fwd)

2000-03-18 Thread Jeff MacDonald
hi, i was asked to forward this to the list. please reply to the author -- Forwarded message -- Date: Mon, 6 Mar 2000 18:49:53 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: open source article Hi, I write an Internet Business Law column for Internet.com's Boardw

[GENERAL] Another Database Poll

2000-02-29 Thread Jeff MacDonald
www.linux.com mysql is at 53 %, pgsql at 14 % Jeff MacDonald [EMAIL PROTECTED]

Re: [GENERAL] Calender

2000-02-22 Thread Jeff MacDonald
23 Feb 2000, Lincoln Yeoh wrote: > At 11:39 AM 22-02-2000 -0400, Jeff MacDonald wrote: > >Um , we're trying to push postgres here :) > > Yah, but I just couldn't resist.. > > How about a picture of the Postgres People pushing elephants in various > ways ;). > >

Re: [GENERAL] Calender

2000-02-22 Thread Jeff MacDonald
postgres here :) > > > > i was thinking the diagram with "spiffier arrrows" > > and some drop shadows with a "ligntened elephant" behind > > > > On Tue, 22 Feb 2000, Lincoln Yeoh wrote: > > > > > At 03:28 PM 21-02-2000 -0400, Jef

Re: [GENERAL] Calender

2000-02-22 Thread Jeff MacDonald
Um , we're trying to push postgres here :) i was thinking the diagram with "spiffier arrrows" and some drop shadows with a "ligntened elephant" behind On Tue, 22 Feb 2000, Lincoln Yeoh wrote: > At 03:28 PM 21-02-2000 -0400, Jeff MacDonald wrote: > >

[GENERAL] parser

2000-01-19 Thread Jeff MacDonald <[EMAIL PROTECTED]>
ser should do this since the context is as a field name. == Jeff MacDonald [EMAIL PROTECTED] irc: bignose on EFnet ==

Re: [GENERAL] cgi with postgres

2000-01-14 Thread Jeff MacDonald
alfred, that seems like a very reasonable solution, in regard to the other chaps responce, i'm not worried about web users anyway, cause they can't see the perl source. it's users on the system i'd like to protect against. On Fri, 14 Jan 2000, Alfred Perlstein wrote:

[GENERAL] cgi with postgres

2000-01-14 Thread Jeff MacDonald
n account on the machine, something that cannot be ruled out. question in short: how to make perl accessing databases more secure, so any jack can't modify a database. thanks in advance. Jeff MacDonald [EMAIL PROTECTED] ==

Re: [GENERAL] Intro/Win9X

2000-01-11 Thread Jeff MacDonald
what is more, Postgres is open > > source. > > Translation: > In a world without fences, who needs Gates? > It's free software, download the real thing, no fees, no per seat, no per user. > > Really. > > -Ronabop > > > Jeff MacDonald [E

[GENERAL] View / Unions

1999-12-08 Thread Jeff MacDonald
Is they any guess on when it will be possible to do a view of a union of 2 tables ? thanks Jeff MacDonald [EMAIL PROTECTED] === So long as the Universe had a beginning, we can suppose it had a creator, but if the Universe is

[GENERAL] XA 2 phase

1999-08-16 Thread Jeff MacDonald
transactions, > however, their Java JDBC driver support for this feature sometimes > lags behind...) > Thanks In advance.. Jeff == Jeff MacDonald [EMAIL PROTECTED]webpage: http://hub.org/~jeff [EMAIL PROTECTED] irc: bignose on EFnet ==

[GENERAL] Sites

1999-07-22 Thread Jeff MacDonald
jeff == Jeff MacDonald [EMAIL PROTECTED]webpage: http://hub.org/~jeff [EMAIL PROTECTED] irc: bignose on EFnet ==

Re: [GENERAL] How to compile PosttgreSQL on NT

1999-07-07 Thread Jeff MacDonald
I have used this file to take a hack at installing on nt. May I suggest more detail on items such as > > 1. Install the Andy Piper Tools who is andy piper ? = Jeff MacDonald // Hub.org Networking Se

[GENERAL] test

1999-05-31 Thread Jeff MacDonald
= Jeff MacDonald // Hub.org Networking Services // PostgreSQL INC [EMAIL PROTECTED]// [EMAIL PROTECTED] // [EMAIL PROTECTED] http://hub.org/~jeff // http://hub.org // http

[GENERAL] Stored Procedures

1999-01-03 Thread Jeff MacDonald
be done by hand. Jeff MacDonald [EMAIL PROTECTED] === So long as the Universe had a beginning, we can suppose it had a creator, but if the Universe is completly self contained , having no boundry or edge, it would neither be