473,542 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PostgreSQL Database Forum

PostgreSQL ORDBMS database - Ask questions about PostgreSQL development, administration replication, clustering, connection pooling, tables, indexes, databases, performance, SQL, queries and more.
0
307
thread by: Maurizio Merli | last post Nov 23 '05 by: Maurizio Merli
How can I implement C-Language functions in a Win32 environment?
0
308
thread by: victor | last post Nov 23 '05 by: victor
I have to implement a structure of rights. I'm intrested if postgresql can restrict these operations(insert, update, select, delete) for a specified postgresql user. If this is possible, please tell me were could I find some documentation about this subject. Thank you.
4
309
thread by: Ken Harris | last post Nov 23 '05 by: Bruno Wolff III
About 3 weeks ago, I started receiving double messages from all the postgresql lists. This generated quite a bit of extra email and was very annoying. I decided to prune down the number of lists that I subscribed to, so I started by removing myself from psql-general (by sending the correct command with my password to the list server). I...
0
309
thread by: James Pharaoh | last post Nov 23 '05 by: James Pharaoh
Hi, I'm trying to work out how to make sure things are read from a table in a consistent order. The table represents a queue of items and also the history of those items. Even with "serializable" transaction isolation I can begin two transactions, insert a record in each, commit the second transaction first. This second record is now...
0
309
thread by: Robert Fitzpatrick | last post Nov 23 '05 by: Robert Fitzpatrick
I have plperl installed my PostgreSQL 7.4.2 server, but from what I understand in chapter 39.3 of the docs, you cannot access the databases without DBD::PgSPI. According to the readme for that module, it will only run on the untrusted plperlu. Is this the only way to run queries (SELECT, INSERT, UPDATE) using plperl? What are the...
0
310
thread by: Froggy / Froggy Corp. | last post Nov 23 '05 by: Froggy / Froggy Corp.
Hello everyone, I try to see if i can make a recursive function with a trigger set on INSERT and doing an insert under my trigger function. So i wrote a test function : CREATE OR REPLACE FUNCTION testfunc() RETURNS SETOF RECORD AS ' DECLARE
0
310
thread by: David Garamond | last post Nov 23 '05 by: David Garamond
Is there a feature similar to this currently in Postgres, or will there be? Sometimes (like in a shared hosting environment), we cannot have the luxury of hot-swapped RAID or expensive SAN, and it's nice to be able to have a synchronous backup so that in case a disk fails, we can recover to the last moment just before failure. Will PITR...
0
310
thread by: BRINER Cedric | last post Nov 23 '05 by: BRINER Cedric
Synopsis CREATE { TEMPORARY | TEMP } ] TABLE /table_name/ ( { /column_name/ /data_type/ ] | /table_constraint/ } ) ) ] so this means that every column's constrain should be separated by a comma.
0
311
thread by: Taber, Mark | last post Nov 23 '05 by: Taber, Mark
We're implementing our first PostgreSQL database, and enjoying it very much. However, we have a table that will store binary image files (pie charts, etc.) for later display on a dynamic webpage. While we're putting together our prototype application, I've been asked by the programmers (I'm the DBA) to "put the images in the database." I can...
0
312
thread by: Jord Tanner | last post Nov 23 '05 by: Jord Tanner
Greetings, Does anyone know what the effect of sending an INT signal (kill -2) to each of: - pg backend - psql running an insert or select into - Perl script with DBI connection to pg, running insert or select into - vacuumdb
0
313
thread by: tech tech | last post Nov 23 '05 by: tech tech
Hello All, I installed postgresql 7.3.4 on HPUX PA in /usr/local/pgsql and put the libraries in /usr/local/pgsql/lib/LIB_new. During the initialization( initdb), it loads libraries (language) from /usr/local/pgsql/lib. In postgresql version 7.3.1, libraries are not loaded and no such problem during initdb. I had the following problem: ...
0
314
thread by: Jason Alan Smith | last post Nov 11 '05 by: Jason Alan Smith
unsubscribe pgsql-general ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org
0
314
thread by: Felix Finch | last post Nov 23 '05 by: Felix Finch
I have a perl test program which has about 80 test cases, each of which creates its own schema so I can remove them with DROP SCHEMA xxx CASCADE. Normally each test case creates and drops the same schema, but it can run a mode to preserve each schema and all the disk files for each test. I recently changed my cleanup code to run psql with...
0
314
thread by: CN | last post Nov 23 '05 by: CN
Hi! I am trying to retrieve the column names that comprise primary key of a table. According to manual, pg_index.indkey is an array of indnatts whose usage I am unaware of. CREATE TABLE table1 ( PRIMARY KEY (c1,c2), c1 SMALLINT,
0
316
thread by: David Parker | last post Nov 23 '05 by: David Parker
Hi. I'm new to postgresql in general, and have been tasked with coming up with a replication solution for our postgresql based application. Assuming we don't bite off trying to roll our own solution, it looks like the open-source options for replication are: 1) contrib/rserv 2) erserver 3) slony 4) pgreplication
0
316
thread by: Henrik Steffen | last post Nov 23 '05 by: Henrik Steffen
hello all, on my master-db-server i'm running postgres 7.4.1, and I have got two slave-servers running postgres 7.4.2 running the following query on the master-server (7.4.1) delivers: explain analyze select * from foo where bar like '0101%' and foobar like 'top%';
0
316
thread by: Ron Snyder | last post Nov 23 '05 by: Ron Snyder
I'm attempting to use spamassassin 3.0 (beta) with an SQL backend, and have identified one performance gain so far that makes PostgreSQL a good (IMO) candidate for the backend. I need some advice though on another aspect-- instead of storing each token as text in the database, the token is being sha1()'d and then possibly pack()'d. That's...
0
317
thread by: Anony Mous | last post Nov 23 '05 by: Anony Mous
Hi, We've got some clients that are concerned about running Postgresql 7.3.4 on a Win2k Server box, alongside MS SQL Server. I've been running pg on my XP machines for a long time now (with cygwin) and never had any sort of problem. The db is fast and stable. Does anyone have any experience that would give some weight to our client's...
0
317
thread by: elein | last post Nov 23 '05 by: elein
The variable names in postgresql.conf have changed in the last several releases. I'm now confused about what variable(s) to set to show the query in pg_stat_activity. Hints? --elein ============================================================ elein@varlena.com Varlena, LLC www.varlena.com
0
317
thread by: Vic Cekvenich | last post Nov 23 '05 by: Vic Cekvenich
What is the performance or other benefits of text search on pgSQL vs mySQL on large dbs? thanks for any comments, ..V -- Please post on Rich Internet Applications User Interface (RiA/SoA) <http://www.portalvu.com>
0
318
thread by: OtisUsenet | last post Nov 23 '05 by: OtisUsenet
Hello, I am trying to select distinct dates and order them in the reverse chronological order. Although the column type is TIMESTAMP, in this case I want only YYYY, MM, and DD back. I am using the following query, but it's not returning dates back in the reverse chronological order: SELECT DISTINCT
0
318
thread by: Noah Davis | last post Nov 23 '05 by: Noah Davis
Was wondering if anyone could help me. I have a database with some bad characters in it -- some users had entered MS Word smart quotes, em dashes, foreign characters, and they look like gibberish coming out of the database. What's the best way to replace these characters? I thought I might be able to run a simple SQL UPDATE command, but...
0
318
thread by: Marvin McNett | last post Nov 23 '05 by: Marvin McNett
How do I go about ensuring that data is only added to a table through a function? I've tried granting execute persission on the function which inserts data, but can't get it to work unless the user also has insert permission on the table. I don't want the user to be able to arbitrarily insert data. ---------------------------(end of...
0
318
thread by: John Liu | last post Nov 23 '05 by: John Liu
We upgraded from 7.2 to 7.4, it looks like everything working, but when I issue a query such as select * from tab (tab has about 2-3 million records), it causes core dump. I tuned some the parameters, it still produce the core. Thanks for any hints.
0
318
thread by: noreply | last post Nov 23 '05 by: noreply
Hi, Is it possible to define "linked servers" like in MS-SQL? Or - is any work going on to implement such feature? So that using 2 postgresql DB's where one is in dmz and one in production - the last one has defined the one in dmz as a "linked server" and sql's sent to the internal DB can do joins between tables in internal DB and DB in...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.