[GENERAL] editing functions/triggers etc..

2008-05-24 Thread john
create a list of the tables -remove the link, edit the code, restore the link. This is not working very well. TIA John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] something to suggest indexes

2009-07-16 Thread John
dexes will be needed. In the past I just started playing with explain using a hit and miss way of doing it. If there is nothing in Postgres does anyone have any suggestions? John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] something to suggest indexes

2009-07-17 Thread John
On Friday 17 July 2009 12:29:59 am Richard Huxton wrote: > John wrote: > > Hi, > > > > Is there something built-in to Postgres that would suggest what indexes I > > might add to improve performance? I created my required tables (they > > only contain sm

Re: [GENERAL] Idle in transaction

2009-07-17 Thread John
On Friday 17 July 2009 07:17:15 am Sharma, Sid wrote: > Sorry. Forgot to mention the postgres version > > PostgreSQL 8.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96 > > > > > > From: Sharma, Sid > Sent: Friday, July 17, 2009 10:05 AM > To: pgsql-general@postgresql.

Re: [GENERAL] MSSQL to PostgreSQL

2009-08-01 Thread John
On Friday 31 July 2009 05:47:39 am Thom Brown wrote: > Hi all, > > We're migrating the contents of an old MSSQL server to PostgreSQL 8.3.7, so > a full conversion is required. Does anyone know of any guides which > highlight common gotchas and other userful information? > > Thanks > > Thom You mi

[GENERAL] using the schema in postbooks

2009-08-07 Thread John
Hi, There is an accounting system called postbooks that uses Postgres for the backend. I just downloaded the program yesterday. What is interesting is within one database there are two schemas (api and public). The 'api' schema is a bunch of views. The interesting part is if you update a vie

Re: [GENERAL] using the schema in postbooks

2009-08-07 Thread John
On Friday 07 August 2009 06:56:22 am Scott Mead wrote: > On Fri, Aug 7, 2009 at 9:52 AM, Adrian Klaver wrote: > > On Friday 07 August 2009 6:42:07 am John wrote: > > > Hi, > > > There is an accounting system called postbooks that uses Postgres for > > > the bac

Re: [GENERAL] using the schema in postbooks

2009-08-07 Thread John
On Friday 07 August 2009 07:27:28 am John wrote: > On Friday 07 August 2009 06:56:22 am Scott Mead wrote: > > On Fri, Aug 7, 2009 at 9:52 AM, Adrian Klaver wrote: > > > On Friday 07 August 2009 6:42:07 am John wrote: > > > > Hi, > > > > There is an ac

[GENERAL] sync structures

2009-09-28 Thread John
Hi, I have a development DB and a production DB. I need a way to sync the changes I make to the stucture in the devel DB to the production DB. I found pgdiff but can't get it to work. I would like a solution that would work on windows and linux. But I'll take either alone. postgres 8.3 o

Re: [GENERAL] sync structures

2009-09-28 Thread John
On Monday 28 September 2009 09:06:25 am Filip Rembiałkowski wrote: > 2009/9/28 John > > > Hi, > > I have a development DB and a production DB. I need a way to sync the > > changes > > I make to the stucture in the devel DB to the production DB. I found > >

Re: [GENERAL] sync structures

2009-09-28 Thread John
On Monday 28 September 2009 09:31:30 am Adrian Klaver wrote: > - "John" wrote: > > On Monday 28 September 2009 09:06:25 am Filip Rembiałkowski wrote: > > > 2009/9/28 John > > > > > > > Hi, > > > > I have a developm

Re: [GENERAL] sync structures

2009-09-28 Thread John
On Monday 28 September 2009 09:56:33 am Filip Rembiałkowski wrote: > 2009/9/28 John > > > After all this time I'm surprized that someone hasn't > > provide an easy way to get this done. It's has to be every developers > > problem. > > hmm, maybe b

[GENERAL] multi-company design/structure ?

2009-10-20 Thread John
Hi, Is it better to create multi databases or create multi schemas? I am writing a program that can have multi instances. Sort like a finanical accounting system that can have multiable companies. Where each company has a different name but the tables are an exact match to each other. IOW the

Re: [GENERAL] multi-company design/structure ?

2009-10-20 Thread John
On Tuesday 20 October 2009 10:11:53 am Wolfgang Keller wrote: > > Is it better to create multi databases or create multi schemas? > > You're missing one option imho: One database, one schema. > > > I am writing a program that can have multi instances. Sort like a > > finanical accounting system th

Re: [GENERAL] multi-company design/structure ?

2009-10-20 Thread John
On Tuesday 20 October 2009 11:59:54 am Rich Shepard wrote: > On Tue, 20 Oct 2009, John wrote: > > I never even considered using the one database with added company > > field/column. On the surface is sounds OK but I'm not to sure. Each SQL > > statement would

Re: [GENERAL] multi-company design/structure ?

2009-10-21 Thread John
On Tuesday 20 October 2009 10:05:34 pm Roderick A. Anderson wrote: > John wrote: > > Hi, > > > > Is it better to create multi databases or create multi schemas? > > John, I just gave a talk on multi-tenant Pg clusters at PgConf West > 2009 that may help you but ran

Re: [GENERAL] multi-company design/structure ?

2009-10-21 Thread John
On Wednesday 21 October 2009 01:23:18 am Ivano Luberti wrote: > The problem is how you use those data ? > I have used schemas to split data when I had to manage large amount of > data (hundred of thousand records) that are (almost) never going to be > used together, if not for statistic purposes an

[GENERAL] postgres powered search engine

2007-03-01 Thread John
http://teenwag.com/search ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [GENERAL] Change primary key in Postgres 7.3?

2004-10-18 Thread John
- Mike It can be done (see other posts), but I suspect that your programmer has a good reason to be reluctant. Let your programmer start from scratch on a new server. Once he has it set up how he wants it, and has tested it against the other applications, make the switch. If it doesn't wo

Re: [GENERAL] Migrating from MaxDB to postgresql

2004-09-10 Thread John
Christopher Browne wrote: Quoth John <[EMAIL PROTECTED]>: As per subject, i'm considering migrating a database (still in development) from MaxDB to postgresql. The main reason for this is that the stored procedures (functions) in MaxDB are unreliable and hard to debug, and that the JDB

[GENERAL] Migrating from MaxDB to postgresql

2004-09-10 Thread John
re to find out how well functions and JDBC are supported in postgresql. If anyone has info or experience on these two things, I'd be interested to see what your opinion is. John ---(end of broadcast)--- TIP 2: you can get off all lists a

[GENERAL] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX, Windows, and the Sharpe family of Linux PDAs

2003-07-04 Thread john
Mike Richardson and John Dean are pleased to announce the 2.0 release of Rekall, a personal, programmable DBMS system for Linux and Windows. If you want to distribute your Rekall application commercially then there is a run-time version of Rekall V2.0.0 available too. There are also versions

RE: [GENERAL] are my questions being received?

2000-09-15 Thread John
> > By the way, I keep receiving mails from the 'pgsql-hackers' > > list, to which > > I'm not subscribed. > > > > as am I. > > -Jim I think just about everyone in general is. (at least i know i am) It's only been the past few days though. Same time frame of which everyone is complaining

[GENERAL] Cant get Perl Module loaded

2001-05-22 Thread John
elled it. I also tried to "include" Pg.pm and it says it cant find the module. I did a manual find and it is there. Can any tell me what I am doing wrong or what I need to do to get postgres working with perl? Thanks, -John ---(e

[GENERAL] Re: Cant get Perl Module loaded

2001-05-28 Thread John
1 root root18124 May 23 21:32 Pg.pm If this is not enough information please tell me what else to post. Thanks for helping me as I am struggling. -John "Neil Conway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sun, May

[GENERAL] Re: Re: perl vs php for postgresql

2001-05-28 Thread John
. -John "Jason Earl" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The types of problems that John is having are quite > likely to persist with PHP, as his problems aren't so > much in programming with Perl, as it seems to

Re: [GENERAL] POSTGRES to ORACLE dump

2015-03-03 Thread John McKown
l-general -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Creating composite keys from csv

2015-03-09 Thread John McKown
y > if we combine their name column with their salary column. Unfortunately, the > format of the data we have makes it more difficult than that (of course!) > because some employees can hold multiple paying positions. > > Here's some example data: > > Name, Position, Salar

Re: [GENERAL] Creating composite keys from csv

2015-03-09 Thread John McKown
On Mon, Mar 9, 2015 at 10:12 AM, Eli Murray wrote: > Thank you all for your help. I'm following along with John McKown's > suggestion but when I run the update query I get "UPDATE 32956" but the > personid column in my rawdata table has null values for every record.

Re: [GENERAL] Windows installer

2015-03-18 Thread John McKown
s useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Windows installer

2015-03-18 Thread John McKown
postgresql/postgresql-9.3.4-3-windows-x64.exe clicking on the second of those downloaded an exe, which I have not tried to run because I'd catch hell from our security people for doing it. On Wed, Mar 18, 2015 at 6:46 AM, John McKown wrote: > Interesting. I can bring that page up on

Re: [GENERAL] :Posgres - performance problem

2015-03-25 Thread John McKown
anything permanently . Also, doing a simple ANALYZE on the table might help some. I'm not sure. ANALYZE master_items; -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone

[GENERAL] OT? Turing Award goes to one of original authors of proto-PostgreSQL

2015-03-25 Thread John McKown
ut as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] How to recover or resent the password for the user 'postgres'

2015-03-30 Thread John McKown
re you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] The case of PostgreSQL on NFS Server (II)

2015-04-02 Thread John McKown
o restorecon -R /var/lib/pgsql/data # update SELinux attributes The restorecon is only needed if you run SELinux > > > Thanks so much in advance, > > -- > Octavi Fors > -- If you sent twitter messages while exploring, are you on a textpedition? He's abou

Re: [GENERAL] The case of PostgreSQL on NFS Server (II)

2015-04-02 Thread John McKown
On Thu, Apr 2, 2015 at 7:09 PM, Octavi Fors wrote: > Thanks John for your extensive and helpful response. > > You see that I used the ALTER from David in last message, instead your > suggestion of creating the whole database again. Looks good! > > Two only questions re

Re: [GENERAL] The case of PostgreSQL on NFS Server (II)

2015-04-03 Thread John McKown
On Fri, Apr 3, 2015 at 1:40 AM, Octavi Fors wrote: > Hi David, John et al., > Oops, sorry yes I think I may "miss-spoke" when explaining my second reason > why not choosing eSATA. > My situation is the following: > > -Two computers (C1 & C2) and NAS (with no e

Re: [GENERAL] Cannot connect from local network to my postgresql server

2015-04-09 Thread John McKown
mailing list archive at Nabble.com. > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] On using doubles as primary keys

2015-04-17 Thread John McKown
t; -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] DB on mSATA SSD

2015-04-23 Thread John McKown
lue is an empty string, which results in all temporary objects being created in the default tablespace of the current database. ​I agree that is sounds like you're not using quality SSD drives.​ -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Workaround for bug #13148 (deferred EXCLUDE constraint violation)

2015-04-28 Thread John McKown
PostgreSQL.​ Sorry about delay but: (1) I was on Jury duty yesterday & (2) I was hoping a more experienced person would speak up. -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] New column modifier?

2015-04-29 Thread John McKown
-- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] New column modifier?

2015-04-29 Thread John McKown
ght to fantasize. Whether or not you > wish to share my fantasy is entirely up to you. > -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Stellar Phoenix File Recovery Software

2015-05-01 Thread John McKown
start an >> undelete process before Windows overwrites that part of hard disk with new >> files. You can set that flag back to "on" and get your file using >> ​> > >> > -- If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] date with month and year

2015-05-21 Thread John McKown
you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Different result depending on order of joins

2015-05-22 Thread John McKown
>> > >> >and the FULL JOIN will add a row for b_val=2 with NULL a_val. >> > >> >The second query will first produce >> > >> > a_val | b_val >> >---+--- >> > 1 | 1 >> > 2 | 2 >> > 3 | >> > >> >an since none but the first row matches a_val=1, you'll get only that >> row in the result. >> > >> >Yours, >> >Laurenz Albe >> >> >> Thank you! >> >> Sorry for not finding it myself, but now I understand why it behaves >> like this :-) >> >> Thanks >> >> Nicklas >> > > > > -- > Tim Rowe > -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] dba scripts & queries

2015-05-26 Thread John McKown
-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > > -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Between with a list of ranges possible ?

2015-05-29 Thread John McKown
> -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] RegisterBackgroundWorker does not actually start a bg worker process in 9.4.4

2015-06-15 Thread John Lumby
s processing of     workers marked as start_at = BgWorkerStart_RecoveryFinished in 9.4.4? Cheers,   John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] RegisterBackgroundWorker does not actually start a bg worker process in 9.4.4

2015-06-16 Thread John Lumby
Michael,   thanks for checking, I tried it again today and it is now working so I must have forgotten something. John > Date: Tue, 16 Jun 2015 08:33:09 +0900 > Subject: Re: [GENERAL] RegisterBackgroundWorker does not actually start a bg > worke

[GENERAL] mirroring a server and/or hot standby

2015-06-24 Thread John Bleichert
tion. I am also interested in setting up an offsite hot standby server for failover. Suggestions for tools and/or further reading welcome! Thanks in advance, John

Re: [GENERAL] mirroring a server and/or hot standby

2015-06-24 Thread John Bleichert
want. Thanks! John

Re: [GENERAL] use null or 0 in foreign key column, to mean "no value"?

2015-06-26 Thread John McKown
n until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] [pg_hba.conf] publish own Python application using PostgreSQL

2015-07-07 Thread John McKown
On Tue, Jul 7, 2015 at 12:10 AM, John R Pierce wrote: > On 7/6/2015 9:55 PM, c.bu...@posteo.jp wrote: > >> On 2015-07-05 22:16 John R Pierce wrote: >> >>> >at a bare minimum, a database administrator needs to create database >>> >roles (users) and d

Re: [GENERAL] pg_dump (PostgreSQL) 9.4.1 - delay in checking if file exists

2015-07-07 Thread John McKown
ondition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] [pg_hba.conf] publish own Python application using PostgreSQL

2015-07-08 Thread John McKown
On Wed, Jul 8, 2015 at 3:55 AM, Karsten Hilbert wrote: > On Tue, Jul 07, 2015 at 06:57:45AM -0500, John McKown wrote: > > > >>> >at a bare minimum, a database administrator needs to create database > > >>> >roles (users) and databases for an app like you

Re: [GENERAL] Oracle to PostgreSQL Migration - Need Information

2015-07-08 Thread John McKown
are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Bounded Zone Offset Query

2015-07-10 Thread John McKown
ckup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] I lost my password

2015-07-26 Thread John McKown
x frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] running script on the server

2015-07-28 Thread John McKown
ore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] [ADMIN] How Many PG_Locks are considered too many

2015-07-30 Thread John Scalia
Seconding Peter on this one; it's a lot more important should one of those locks be hanging around, say for hours or days, not how many have come and gone. -- Jay On Thu, Jul 30, 2015 at 8:57 AM, Renato Oliveira < renato.olive...@cantabcapital.com> wrote: > Peter thank you much appreciated > > Se

Re: [GENERAL] json ->> operator precedence

2015-08-05 Thread John McKown
l is ->> actually running at? > > Or am I missing something? > ​​ ​Looks correct to me. As I understand it the ::jsonb is NOT an operator! It is a syntactic construct for a CAST(). An equivalent which might make more sense is: select CASE WHEN CAST('{"a":null}' AS JSONB)->>'a' IS NULL THEN 'yes' ELSE 'no' END;​​ Oh, an CAST() may look like a function call, but it is also a syntactic element. I.e. there is not a function called "CAST". > Cheers > > Geoff > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] json ->> operator precedence

2015-08-05 Thread John McKown
On Wed, Aug 5, 2015 at 8:35 AM, John McKown wrote: > ​​ > > ​Looks correct to me. As I understand it the ::jsonb is NOT an operator! > It is a syntactic construct for a CAST(). An equivalent which might make > more sense is: > > select CASE WHEN CAST('{"a"

Re: [GENERAL] json ->> operator precedence

2015-08-05 Thread John McKown
On Wed, Aug 5, 2015 at 8:42 AM, Geoff Winkless wrote: > On 5 August 2015 at 14:35, John McKown > wrote: >> >> ​Looks correct to me. As I understand it the ::jsonb is NOT an operator! >> It is a syntactic construct for a CAST(). An equivalent which might make >> m

Re: [GENERAL] official rpm build spec file

2015-08-08 Thread John McKown
d my own Postgresql rpm. > > Thanks. > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] SQL pre-processor, like ecpg, for other languages?

2015-08-11 Thread John McKown
is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] SQL pre-processor, like ecpg, for other languages?

2015-08-11 Thread John McKown
r now, but not even a novice really. ​ -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] PostgreSQL - The Best Overall Database

2015-08-13 Thread John McKown
of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] PostgreSQL - The Best Overall Database

2015-08-13 Thread John Turner
On Thu, 13 Aug 2015 09:46:49 -0400, Melvin Davidson wrote: On Thu, Aug 13, 2015 at 9:21 AM, John McKown wrote: On Thu, Aug 13, 2015 at 8:03 AM, Melvin Davidson wrote: This should put a smile on all PostgreSQL DBA's faces. The Best Overall Database ​Very nice. Of course, I h

Re: [GENERAL] Count of non-null values per table column

2015-08-14 Thread John McKown
would be 2, not 12. Or do you really want the 12? I'm unsure. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] fastes way to retrieve segmented without using loop

2015-08-23 Thread John McKown
le to ONLY and ALWAYS specify the variable names. The only exception is if your program actually examines the schema of the table before doing a SELECT and dynamically constructs it. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] fastes way to retrieve segmented without using loop

2015-08-23 Thread John McKown
Melvin's use of DISTINCT ON (...) is superior to my use of DISTINCT(...) because it doesn't return the value to your program. I keep forgetting this way. I learned it the other way. Old dog + new trick == problem. On Sun, Aug 23, 2015 at 5:04 PM, John McKown wrote: > On Sun, Aug

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-24 Thread John Turner
ry, they must be accompanied by a legitimate Unique natural key. - John

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-24 Thread John Turner
to good enough. JD I'm all for development via ORMs, but alas, the ORMs would've done well to have given more consideration to key conventions... I would only add that if the app is of any significance for an LOB, then at some point the schema would need to be validated against re

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-26 Thread John McKown
's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-26 Thread John Turner
h are typically scaffolded with boilerplate, but almost invariably need to be tweaked in order to effect the desired changes in the database.. - John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/

Re: [GENERAL] [R] Issues with RPostgres

2015-08-27 Thread John McKown
e local host are automatically logged in as their Linux (in my case) id. Your code is connecting via TCPIP because you have the host= & port= parameters. This is not normally needed for users running on the same physical machine as the PostgreSQL data base server. So I'm too lazy to do it [

Re: [GENERAL] [R] Issues with RPostgres

2015-08-27 Thread John McKown
On Thu, Aug 27, 2015 at 4:19 PM, Abraham Mathew wrote: "test" is not in the postgres database. In fact, there is no table or column named "test" The user is "postgres" and the dbname is also "postgres" On Thu, Aug 27, 2015 at 4:13 PM, John McKown w

Re: [GENERAL] @ operator

2015-09-17 Thread John McKown
x frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] Memory for BYTEA returned by C function is not released until connection is dropped

2015-09-20 Thread John Leiseboer
memory that is returned to the caller? Regards, John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Memory for BYTEA returned by C function is not released until connection is dropped

2015-09-20 Thread John Leiseboer
is: "What makes palloc() special is that it allocates the memory in the current context and the whole memory is freed in one go when the context is destroyed." What "context"? The connection? The transaction? A SQL statement? The function call? John -- Sent via pgsql-genera

Re: [GENERAL] looking for old rpm

2015-09-21 Thread John McKown
On Mon, Sep 21, 2015 at 10:46 AM, John R Pierce wrote: > On 9/21/2015 12:31 AM, Etienne Champetier wrote: > >> I'm looking for old postgres rpm, like >> postgresql93-server-9.3.6-1PGDG.rhel6.x86_64.rpm >> >> (one of our software is "certified" with t

[GENERAL] Memory for BYTEA returned by C function is not released until connection is dropped

2015-09-21 Thread John Leiseboer
memory that is returned to the caller? Regards, John -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Selecting pairs of numbers

2015-10-05 Thread John McKown
> http://www.postgresql.org/mailpref/pgsql-general > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] Processing data from table using awk.

2015-10-06 Thread John McKown
l be a "leaning experience" (with associated scars, I'm sure). -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Processing data from table using awk.

2015-10-06 Thread John McKown
On Tue, Oct 6, 2015 at 9:25 AM, Reid Thompson wrote: > On Tue, 2015-10-06 at 09:04 -0500, John McKown wrote: > > > I'm wanting to do some reporting on data which I have an a PostgreSQL > table. > > For lack of anything better, I've decided to see if I can do

Re: [GENERAL] Processing data from table using awk.

2015-10-06 Thread John McKown
; > bobb > > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

[GENERAL] How to get the session user in a C user defined function

2015-10-14 Thread John Leiseboer
I would like to get the session_user into a C char[] in a C language UDF. I have found what appears to be a function returning a Datum type called session_user, but I'm having trouble working out how to call it from within my C function. Can anyone provide some advice on how to do this?

Re: [GENERAL] can postgres run well on NFS mounted partitions?

2015-11-09 Thread John McKown
ted, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] can postgres run well on NFS mounted partitions?

2015-11-12 Thread John McKown
know why the OP wants to put the database files on an NFS. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [GENERAL] Full text search on Chemistry text

2016-06-08 Thread John McKown
" and got a lot of hits. Are you asking for a "canonical" and "official" list?​ -- The unfacts, did we have them, are too imprecisely few to warrant our certitude. Maranatha! <>< John McKown

[GENERAL] PostgresSQL and HIPAA compliance

2016-06-17 Thread Alex John
Hello, I have a few questions regarding the use of PostgreSQL and HIPAA compliance. I work for a company that plans on storing protected health information (PHI) on our servers. We have looked at various solutions for doing so, and RDS is a prime candidate except for the fact that they have explici

Re: [GENERAL] Memory usage per session

2016-07-08 Thread John McKown
ineer. Pessimistic people check their work three times, because they're sure that something won't be right. Optimistic people check once, trust in Solis-de to keep the ship safe, then blow everyone up." "I think you're mistaking the word optimistic for inept." "They've got a similar ring to my ear." >From "Star Nomad" by Lindsay Buroker: Maranatha! <>< John McKown

Re: [GENERAL] Memory usage per session

2016-07-08 Thread John McKown
ed between session. -- "Pessimism is a admirable quality in an engineer. Pessimistic people check their work three times, because they're sure that something won't be right. Optimistic people check once, trust in Solis-de to keep the ship safe, then blow everyone up." "I think you're mistaking the word optimistic for inept." "They've got a similar ring to my ear." >From "Star Nomad" by Lindsay Buroker: Maranatha! <>< John McKown

[GENERAL] Congratulations (EDB) on U.S. Security Technical Implementation Guide.

2016-07-18 Thread John McKown
ot;Worry was nothing more than paying interest on a loan that a man may never borrow" From: "Quest for the White Wind" by Alan Black Maranatha! <>< John McKown

Re: [GENERAL] MediaWiki + PostgreSQL is not ready for production?

2016-07-20 Thread John DeSoi
> On Jul 18, 2016, at 11:47 PM, John R Pierce wrote: > > Drupal even tried to offer a database API so plugin developers wouldn't touch > SQL directly, but too many ignored it. I have been using Drupal with PostgreSQL for more than 10 years without too many problems. Since

Re: [GENERAL] yum repo, pgloader

2016-07-23 Thread John DeSoi
n, will do some > more digging later. See https://github.com/dimitri/pgloader/issues/296 John DeSoi, Ph.D. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] How to stop script executions

2016-07-26 Thread John McKown
; type policy. Or I'd "sandbox" the PostgreSQL server code using something like docker, or under in a virtual machine with little access to other services. > > > -- > *Melvin Davidson* > I reserve the right to fantasize. Whether or not you > wish to share my fantasy is entirely up to you. > -- Klein bottle for rent -- inquire within. Maranatha! <>< John McKown

Re: [GENERAL] Force pg_hba.conf user with LDAP

2016-08-01 Thread John McKown
prefix which, if used, runs the given SQL statement as a PG superuser. You then GRANT(?) authority to that facility like you would to a table or database or ... . E.g. GRANT SUDO TO SOMEBODY; who could then do SUDO some other SQL statement; and that SQL statement would be done as if the PG user was a superuser. -- Klein bottle for rent -- inquire within. Maranatha! <>< John McKown

Re: [GENERAL] Way to quickly detect if database tables/columns/etc. were modified?

2016-10-31 Thread John DeSoi
an event trigger that updates a simple table with the last modification time or sends a notification? https://www.postgresql.org/docs/current/static/sql-createeventtrigger.html John DeSoi, Ph.D. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subs

  1   2   3   4   5   6   7   8   9   10   >