Re: [GENERAL] Weight BLOB objects in postgreSQL? How?

2015-03-04 Thread John R Pierce
On 3/4/2015 7:03 AM, María Griensu wrote: I need to figure out how can I weight BLOB objects in a table of a DB, I'm not expert on this topics, so I appreciate any help you can give me. postgres's equivalent of BLOB is BYTEA. I'm not sure what you mean by 'weight'

Re: [GENERAL] Postgresql CIFS

2015-03-04 Thread John R Pierce
er to implement a HA cluster via streaming replication, the master and slave each with their own dedicated storage, and promoting the slave to master if/when the master dies. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via

Re: [GENERAL] #PERSONAL# Reg: date going as 01/01/0001

2015-03-05 Thread John R Pierce
no clue how you're inserting this date field. test=# create table test (calendar date); CREATE TABLE test=# insert into test (calendar) values (null); INSERT 0 1 test=# select calendar, calendar IS NULL from test; calendar | ?column? --+-- | t (1 row) -- j

Re: [GENERAL] #PERSONAL# Reg: date going as 01/01/0001

2015-03-06 Thread John R Pierce
On 3/6/2015 2:12 AM, Medhavi Mahansaria wrote: I am porting my application from oracle to postgresql. in oracle it enters as NULL Oracle has the unique 'feature' that an empty string is NULL. This is contrary to the SQL spec. -- john r pierce

Re: [GENERAL] Postgres and data warehouses

2015-03-08 Thread John R Pierce
ive new data. in our case its made fairly easy to track 'new' because all our OLTP transactions are event-oriented. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-general mailing list (pgsql-general

Re: [GENERAL] Postgres and data warehouses

2015-03-08 Thread John R Pierce
On 3/8/2015 8:24 PM, Rob Sargent wrote: I strongly suspect many would like further details on your implementation. A user conference session well recorded perhaps? the details are proprietary and quite specific to our workload and requirements. -- john r pierce

Re: [GENERAL] Creating composite keys from csv

2015-03-08 Thread John R Pierce
On 3/8/2015 10:32 PM, David G Johnston wrote: This solves the explicit problem given the assumption that (Name, Total Salary) is indeed a uniquely identifying constraint. that constraint seems flawed to me. -- john r pierce 37N 122W somewhere on the

Re: [GENERAL] DB Connections

2015-03-13 Thread John R Pierce
On 3/13/2015 6:51 AM, sameer malve ⎝⏠⏝⏠⎠ wrote: Just use pgtune utility it will give an o/p of u r postgres.conf depending on your machine hardware . I find on newer large hardware, pg_tune makes some over-the-top choices. -- john r pierce 37N 122W

Re: [GENERAL] DB Connections

2015-03-13 Thread John R Pierce
lt in connection pools), and configuring your app to grab a connection from the pool, do a transaction and release the connection. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-general mailing list (pgsql-ge

Re: [GENERAL] Archeiving and Purging

2015-03-18 Thread John R Pierce
ere datefield < current_date-interval '6 months'; obviously, save the data you selected in a suitable archive file. repeat this for each table you wish to 'archive and purge'. alter the interval with whatever criteria you want to use for this archive and purge operation.

Re: [GENERAL] Unicode license compatibility with PostgreSQL license

2015-03-19 Thread John R Pierce
code do that the existing UTF8 support doesn't ? -- john r pierce, from the mid left coast -- 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] SELinux context of PostgreSQL connection process

2015-03-24 Thread John R Pierce
On 3/24/2015 5:16 AM, Мартынов Александр wrote: There is postgres db with sepgsql enabled. When user connect to postgres db with psql, postgres create new process for each connection. These processes have selinux context unconfined_u:unconfined_r:postgresql_t. Is there a way to assign the proc

Re: [GENERAL] Index corruption

2015-03-24 Thread John R Pierce
On 3/24/2015 11:49 AM, Bankim Bhavsar wrote: - 9.2.0 9.2 is currently at 9.2.10. 9.2.0 was released 2.5 years ago. several of the bugs fixed in the 10 incremental updates were data corruption related. -- john, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-

Re: [GENERAL] Index corruption

2015-03-24 Thread John R Pierce
On 3/24/2015 12:05 PM, Bankim Bhavsar wrote: We'll upgrade to 9.2.10 and attempt to reproduce the issue. If possible, can someone point to corruption related issues fixed after 9.2.0? in the postgres manual, see the release notes for 9.2.1 through 9.2.10 -- john, recycling bits in santa cr

Re: [GENERAL] Load Data with COPY

2015-03-24 Thread John R Pierce
On 3/24/2015 2:16 PM, Raymond O'Donnell wrote: Is there a header row in the CSV file? - if so, delete it and try again. or specify 'WITH HEADER' on the COPY command -- john, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to

Re: [GENERAL] :Posgres - performance problem

2015-03-25 Thread John R Pierce
On 3/25/2015 2:19 AM, ginkgo36 wrote: Hi all, I have 1 table have: - 417 columns - 600.000 rows data - 34 indexs when i use query on this table, it so long. ex: update master_items set temp1 = '' where temp1 <> '' --Query returned successfully: 435214 rows affected, 1016137 ms execution time.

Re: [GENERAL] pgadmin3 installation on Oracle Linux 6.6 64-bit ?

2015-03-29 Thread John R Pierce
On 3/29/2015 12:48 AM, Yuri Budilov wrote: Red Hat/Oracle Linux 6.x is that anything like Ford/Chevy ? Oracle Linux, while originally forked from Red Hat Enterprise Linux aka RHEL, has diverged significantly and is now its own thing. AFAIK, the Postgres yum repository has made no effort at m

Re: [GENERAL] pgadmin3 installation on Oracle Linux 6.6 64-bit ?

2015-03-29 Thread John R Pierce
On 3/29/2015 1:39 AM, Yuri Budilov wrote: my employer runs Oracle Linux 6.x and also Red Hat 6.x, so if we were to drop Oracle database and take PostgreSQL instead, I am afraid, everything must work on those two Linux platforms. We pay for support from Oracle and Red Hat for Linux OS. its ins

Re: [GENERAL] Link Office Word form document with data from PostgreSQL

2015-03-30 Thread John R Pierce
on it wouldn't work in Word. -- john r pierce, recycling bits in santa cruz -- 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] Regarding bytea column in Posgresql

2015-04-09 Thread John R Pierce
ity of this really depends on the use cases. -- john r pierce, recycling bits in santa cruz -- 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] Finding values of bind variables

2015-04-08 Thread John R Pierce
ertainly a 'very bad thing' unless the transaction is actively crunching data. if you're using a client such as JDBC which autowraps queries in transactions by default, you need to invoke COMMIT's when you're done doing that unit of work. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] schema or database

2015-04-12 Thread John R Pierce
ad in connections, as one client connection can serve multiple customers -- john r pierce, recycling bits in santa cruz -- 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] schema or database

2015-04-13 Thread John R Pierce
mp -Fc, then you can specify the schema at pg_restore time. -- john r pierce, recycling bits in santa cruz -- 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] function to send email with query results

2015-04-17 Thread John R Pierce
sults, format them as you see fit for the email and toss it at your language-of-choice's email facility. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mail

Re: [GENERAL] LDAP Authentication

2015-04-22 Thread John R Pierce
am not sure where or how the ldapsearchattibute comes into play. you would do this by CREATE USER on the various servers for those people, along with GRANT. LDAP only provides authentication, it doesn't manage authorization. -- john r pierce, recycling bits in santa cruz -- Sen

Re: [GENERAL] Connecting to 2 different DB on same machine

2015-04-22 Thread John R Pierce
he default port. -- john r pierce, recycling bits in santa cruz -- 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] LDAP Authentication

2015-04-22 Thread John R Pierce
their LDAP profile. but thats not how it works, so all the 'planing' in the world won't change a thing. access rights per database are managed with GRANT, users must be CREATE USER on each server regardless of how they are authenticated. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Restarting DB after moving to another drive

2015-05-13 Thread John R Pierce
exist before the restore". External tablespaces directories are easy to create but what's about pg_default and pg_global tablespace since I never created specific tablespaces for them? those are created when you initdb the target cluster prior to restoring the pg_dumpall output. -

Re: [GENERAL] Restarting DB after moving to another drive

2015-05-15 Thread John R Pierce
here not datistemplate"); do \ pg_dump -Fc -f /home2/backups/pgsql/pgdump.$i.$(date +\%a).dump $db done this creates a globals-only backup and a seperate backup of each database, for each day of the week. -- john r pierce, recycling bits

Re: [GENERAL]

2015-05-18 Thread John R Pierce
depends on your OS and/or the way things have been installed. you need to read the release notes to see if there's any special steps due to bug fixes. some incremental updates may require a reindex of certain index types, for instance. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Consistent state for pg_dump and pg_dumpall

2015-05-20 Thread John R Pierce
/pgsql/pgdumpall.globals.`date +\%a`.sql.gz for i in $(psql -tc "select datname from pg_database where not datistemplate"); do \ pg_dump -Fc -f /home2/backups/pgsql/pgdump.$i.$(date +\%a).dump $i done -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] [SQL] extracting PII data and transforming it across table.

2015-05-27 Thread John R Pierce
about specific employee types or groups, these other tables could have their own primary key, but would reference the Employee table EmployeeID field for the common employee attributes. -- john r pierce, recycling bits in santa cruz

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

2015-05-29 Thread John R Pierce
start_value3 and end_value3; select * from table where (number * 3 between start_value1 and end_value2) OR (number * 3 between start_value2 and end_value2) OR (number * 3 between start_value3 and end_value3); -- john r pierce, recycling bits in

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

2015-05-29 Thread John R Pierce
On 5/29/2015 10:41 AM, John R Pierce wrote: On 5/29/2015 9:32 AM, Arup Rakshit wrote: Can I do the below 3 queries in a single query ? select * from table where number * 3 between start_value1 and end_value2; select * from table where number * 3 between start_value2 and end_value2; select

Re: [GENERAL] odbc to emulate mysql for end programs

2015-06-01 Thread John R Pierce
a database specific ODBC driver, which William already described. now, if your code is making use of MySQL specific features, then its not going to work with Postgres (but it also likely won't work with Oracle or Access/Jet databases either). -- john r pierce, recycling bits in santa

Re: [GENERAL] replicating many to one

2015-06-04 Thread John R Pierce
example, whats to prevent concurrent transactions on distributed servers handing out the same money ? -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [GENERAL] alter column type

2015-06-05 Thread John R Pierce
the storage is exactly the same for those. -- john r pierce, recycling bits in santa cruz -- 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] alter column type

2015-06-05 Thread John R Pierce
s for the data point :) if all 5 alters' were to the same table, you should have combined them into one alter statement. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread John R Pierce
. ask the ssytem administrator to install... yum install mpfr if your host is not providing basic working development tools, you either need to find a new host, or discuss this with management. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL]

2015-06-23 Thread John R Pierce
just to know if one of yours have seen this, or something like this, before.* use lsof or equivalent to determine what process owns the other side of the socket that one of those processes is listening on. my guess is, you're not releasing resources in django and they are piling up.

Re: [GENERAL] native api or odbc?

2015-06-23 Thread John R Pierce
nd simpler, unless you're using a programming framework that has native ODBC support built in. -- john r pierce, recycling bits in santa cruz -- 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] Correct place for feature requests

2015-06-25 Thread John R Pierce
citly case sensitive according to the specifications. -- john r pierce, recycling bits in santa cruz -- 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] Correct place for feature requests

2015-06-25 Thread John R Pierce
? oh wait, you can't DO that. -- john r pierce, recycling bits in santa cruz -- 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] create index on a field of udt

2015-06-28 Thread John R Pierce
erial, name text); alter table info add primary key(id); or more generically, create index on some_table ( some_field[,...] ) ; (a primary key is a unique not null constraint, this implies an index in postgresql) -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] create index on a field of udt

2015-06-28 Thread John R Pierce
field name. see http://www.postgresql.org/docs/current/static/rowtypes.html#AEN7836 -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Turn off streaming replication - leaving Master running

2015-06-28 Thread John R Pierce
snapshotting (like zfs), and the master is doing WAL archiving, you could, in theory, pause the replication and snapshot the slave, do read/write tests on the slave, then restore that snapshot and resume replication, pulling from the WAL archive til it catches up. -- john r pierce, recycling bits in

Re: [GENERAL] create index on a field of udt

2015-06-28 Thread John R Pierce
enerate_series(1, 300), (generate_series(1, 300), 'hi')::info); analyze test; explain select * from test where getID(i) <http://i.id>= 1; -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Turn off streaming replication - leaving Master running

2015-06-29 Thread John R Pierce
its woken back up after being restored to how it was before your testing, it will query the master, find out its way ahead of its timeline, and consult with the WAL archives, fetching as many as are needed to catch up to the servers' current timeline, then resume streaming ... -

Re: [GENERAL] Turn off streaming replication - leaving Master running

2015-06-29 Thread John R Pierce
what is a standby meant for fail over, and what is a clone meant for testing. With possibly disastrous consequences. VERY good point! -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription

Re: [GENERAL] Which replication is the best for our case ?

2015-06-29 Thread John R Pierce
highly suspect. -- john r pierce, recycling bits in santa cruz -- 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] Turn off streaming replication - leaving Master running

2015-06-29 Thread John R Pierce
server for a few days from Amazon or someone. -- john r pierce, recycling bits in santa cruz -- 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] Which replication is the best for our case ?

2015-06-30 Thread John R Pierce
you merge those changes in ? -- john r pierce, recycling bits in santa cruz -- 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] Which replication is the best for our case ?

2015-07-01 Thread John R Pierce
ansactional database processing. -- john r pierce, recycling bits in santa cruz -- 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] database-level lockdown

2015-07-04 Thread John R Pierce
e anything to abort.. you can't lock something thats already in use by a transaction as that transaction already has locks on it. better would be to design your workflow so it all can be done transactionally and get away from this batch processing model. -- john r pierce, recyclin

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

2015-07-05 Thread John R Pierce
a password ? that way mucking with configuration files is not required. -- john r pierce, recycling bits in santa cruz -- 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] [pg_hba.conf] publish own Python application using PostgreSQL

2015-07-05 Thread John R Pierce
ugins and addons, etc. at a bare minimum, a database administrator needs to create database roles (users) and databases for an app like yours. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscri

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

2015-07-06 Thread John R Pierce
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 databases for an app like yours. The admin don't need to create the db. It is done by the application

Re: [GENERAL] encrypt psql password in unix script

2015-07-08 Thread John R Pierce
ident' as your authentication, where your unix user is used as the postgres username. or, you can use ssl certificates for authentication, this is more complex to setup. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.or

Re: [GENERAL] [SQL] encrypt psql password in unix script

2015-07-08 Thread John R Pierce
ey when it runs. how would that work for unattended scripts, such as cron jobs ? -- john r pierce, recycling bits in santa cruz -- 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] Oracle to PostgreSQL Migration - Need Information

2015-07-08 Thread John R Pierce
Capture} approach. Also, we used Ora2Pg tool to migrate the DB objects with some manual syntax modifications. thats the easy part. now what about the massive code base of pl/sql and triggers he mentioned ? -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list

Re: [GENERAL] Socket Connection Authentication

2015-07-08 Thread John R Pierce
t in front of any local all all lines ? were you using localhost to connect or leaving the host empty? localhost uses a host entry. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscrip

Re: [GENERAL] INSERT ... ON CONFLICT DO UPDATE

2015-07-21 Thread John R Pierce
e index? that suggests some folks overthink their indexing strategies and end up 'overoptimized'. anyways, a simple REINDEX fixes all sorts of index fragmentation -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Creating a user for pg_start_backup

2015-07-21 Thread John R Pierce
un that psql command as the system postgres user and not specified any -U or -d ... -- john r pierce, recycling bits in santa cruz -- 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 a user for pg_start_backup

2015-07-21 Thread John R Pierce
se su (not sudo) from root, or I'd cron it from the postgres DBA account, depending. -- john r pierce, recycling bits in santa cruz -- 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 a user for pg_start_backup

2015-07-21 Thread John R Pierce
daemons as other users, they typically use su, like... $SU -l postgres -c "$PGENGINE/postmaster -p '$PGPORT' -D '$PGDATA' ${PGOPTS} &" >> "$PGLOG" 2>&1 < /dev/null (where $SU is su or runuser) -- john r pierce, recycling bits

Re: [GENERAL] Postgresql upgrade from 8.4 to latest

2015-07-28 Thread John R Pierce
john r pierce, recycling bits in santa cruz -- 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] Postgresql upgrade from 8.4 to latest

2015-07-28 Thread John R Pierce
9.4 vs 8.4, not directly related to the pg_upgrade process. -- john r pierce, recycling bits in santa cruz -- 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] postgres 9.3

2015-07-31 Thread John R Pierce
27;re not running as root. -- john r pierce, recycling bits in santa cruz -- 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] postgres 9.3

2015-08-01 Thread John R Pierce
On 8/1/2015 3:08 AM, Andreas Joseph Krogh wrote: The version goes last: service postgresql start 9.3 thats very OS/distribution specific. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] scaling postgres - can child tables be in a different tablespace?

2015-08-04 Thread John R Pierce
performance most often, stripe all the disks together and put everything on the same big volume, that way all IO is evenly distributed. otherwise you'll find too much IO on some tables/partitions, and not enoguh on others, so most of the disks are idle most of the time. -- john r p

Re: [GENERAL] postgres connection

2015-08-09 Thread John R Pierce
on methods appropriately in pg_hba.conf... but before messing with that, verify the server is actually running, or not. Do note, /etc/init.d scripts are meant to be run by the root user only, not by a regular user account. -- john r pierce, recycling bits in santa cruz -- Sent via pgs

Re: [GENERAL] PostgreSQL - The Best Overall Database

2015-08-14 Thread John R Pierce
On 8/14/2015 11:06 AM, Ravi Krishna wrote: is there any details available on this poll ? the linked article links to this report, which requires registration to download. http://www.dbta.com/DBTA-Downloads/ResearchReports/The-Real-World-of-the-Database-Administrator-5237.aspx -- john r

Re: [GENERAL] deletion of the thread posted by me

2015-08-18 Thread John R Pierce
-- john r pierce, recycling bits in santa cruz

Re: [GENERAL] How to tune my new server

2015-08-18 Thread John R Pierce
-fits-all answer. are you doing OLTP, characterized by frequent small transactions with high percentage of update events and many clients, or is this OLAP, where you bulk load large data, then do relatively few very large aggregate type queries for reporting purposes ? -- john r pierce, recy

Re: [GENERAL] Problem with pl/python procedure connecting to the internet

2015-08-21 Thread John R Pierce
ent.' if you want clients to connect from other systems, then listen_addresses = '*' is appropriate. listen_addresses should have no impact on what your plpython app can connect to outside of postgres, unless you're running the 'safe' version of pl*** -- joh

Re: [GENERAL] Problem with pl/python procedure connecting to the internet

2015-08-22 Thread John R Pierce
enforce command, and see if your python works. -- john r pierce, recycling bits in santa cruz if this is a reply to a list, I'm subscribed to that list, please reply to the list not me personally. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-22 Thread John R Pierce
n the spot for incompetence ? -- john r pierce, recycling bits in santa cruz -- 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] Problem with pl/python procedure connecting to the internet

2015-08-23 Thread John R Pierce
boot or restart anything, just do it) -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-24 Thread John R Pierce
tabase, then to let those apps mold a db into a non-optimum design. if you let the app drive the database design, you tend to end up with a database which is only useful to that single app, and likely breaks when that app changes. -- john r pierce, recycling bits in santa cruz -- Sent vi

Re: [GENERAL] PostgreSQL Developer Best Practices

2015-08-25 Thread John R Pierce
referencing your account numbers. -- john r pierce, recycling bits in santa cruz -- 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] two factor authentication for pgadmin iii

2015-08-27 Thread John R Pierce
with a password on the ssl key store. But, how will that work with application programs connecting to postgres, such as a webserver based application ? -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Ubuntu installed postgresql password failure

2015-09-13 Thread John R Pierce
ASE yourname OWNER yourname; where yourname is your regular login.now exit psql, exit the su, and try running pgadmin. don't specify localhost, leave the host empty/blank, and you should be allowed to log in as yourname. explaining why this is just as it is requires more energy than I ha

Re: [GENERAL] Online backup of PostgreSQL data.

2015-09-17 Thread John R Pierce
7; or PITR, which will let you restore the database to just before any specified transaction number, so if bad data got introduced, you can restore it to just prior to that point. you might read all of this chapter in the manual... http://www.postgresql.org/docs/9.4/static/backup.html -- joh

Re: [GENERAL] looking for old rpm

2015-09-21 Thread John R Pierce
-3-7.html http://www.postgresql.org/docs/current/static/release-9-3-8.html http://www.postgresql.org/docs/current/static/release-9-3-9.html -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] postgres 9.3

2015-09-21 Thread John R Pierce
iew" role that you want to access the "preview" schema, then the default search path would suffice, as $USER == preview. -- john r pierce, recycling bits in santa cruz -- 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] pgsql-95 repo in rsync

2015-09-21 Thread John R Pierce
On 9/21/2015 5:46 AM, Kjetil Nygård wrote: 2. yum repo for Fedora 23 Is it possible to have fedora 23-repo for PostgreSQL? Especially 9.4 and 9.5. I thought F23 starts beta next week? it appears 9.4.4 is included in the F23 base repository. postgres 9.5 is itself still in beta. -- john r

Re: [GENERAL] Convert number to string

2015-09-24 Thread John R Pierce
perl function. -- john r pierce, recycling bits in santa cruz

[GENERAL] 9.4 and centos/yum multiversion installs

2015-09-29 Thread John R Pierce
sion 9.4.0 Devrim Gunduz # Remove PGPORT variable so... how do you run multiple versions?? -- john r pierce, recycling bits in santa cruz -- 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] 9.4 and centos/yum multiversion installs

2015-09-29 Thread John R Pierce
On 9/29/2015 10:09 AM, John R Pierce wrote: does the 9.4 yum install no longer support using the sysconfig settings fragments ? I see what looks like the correct shell code for it in /etc/rc.d/init.d/postgresql-9.4 ... # Override defaults from /etc/sysconfig/pgsql if file is present

Re: [GENERAL] Postgresql 9.4 and ZFS?

2015-09-29 Thread John R Pierce
to 8k. -- john r pierce, recycling bits in santa cruz -- 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] Postgresql 9.4 and ZFS?

2015-09-29 Thread John R Pierce
ize. zfs set recordsize=8192 zpool/pgdata -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] postgresql doesn't start

2015-10-02 Thread John R Pierce
lot going on there abstracting things. -- john r pierce, recycling bits in santa cruz -- 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] postgresql doesn't start

2015-10-02 Thread John R Pierce
/postgresql/9.3/main The directory . should be owned by the postgres user, and it should have 700, 750, or 770 permissions. all the files in it should also be owned by postgres. also look and see if postgres logged anything in its own system log files (/var/log/postgresql/9.3 or whatev

Re: [GENERAL] Recording exceptions within function (autonomous transactions?)

2015-10-06 Thread John R Pierce
ng it out there. -- john r pierce, recycling bits in santa cruz

Re: [GENERAL] Best practices for aggregate table design

2015-10-06 Thread John R Pierce
On 10/6/2015 11:24 AM, droberts wrote: OR a dimension 'type' with values outbound/inbound and a single measure column 'total' ? that smells a bit too much like an "EAV" (entity-attribute-value) which is considered an antipattern in relational circles -- jo

Re: [GENERAL] backup.old

2015-10-06 Thread John R Pierce
to me what needs to be done do recover. postgresql-9.3 9.3.0-2.pgdg12.4+1 what method or software were you using to perform this backup? -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to

Re: [GENERAL] Best practices for aggregate table design

2015-10-09 Thread John R Pierce
;ve done. actually, there've been numerous cases where NoSQL deployments never worked right, and people reverted to SQL for reporting. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] Trouble setting up replication

2015-10-10 Thread John R Pierce
um install postgresql93 ... (note, the last command just installs the runtime libraries and utilities, it does NOT install the postgresql 9.3 database server, that is package postgresql93-server) -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgs

Re: [GENERAL] ID column naming convention

2015-10-13 Thread John R Pierce
Visualizer. I don't know of any ERD tool that will recognize foreign key references without FK constraint definitions, regardless of what things are named. -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make

Re: [GENERAL] Not storing MD5 hashed passwords

2015-10-14 Thread John R Pierce
database so what threat does a stronger hash address? if you need stronger security, don't use passwords, use ssl certificates, or LDAP, or something. -- john r pierce, recycling bits in santa cruz

  1   2   3   4   5   6   7   8   9   10   >