threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hello..\n\nI was wondering if it's possible to make postgresql backend to adjust his priority based by an parameter to begin..\n\ni.e: For linux , a \"BEGIN -20\" to renice backend priority to -20..\n\nThis should be easy (i hope) to implement using setpriority(..) , but there are a few que... |
[
{
"msg_contents": "I was profiling a case involving UPDATEs into a table with too many\nindexes (brought to mind by mysql's sql-bench, about which more later)\nand got this rather surprising result for routines costing more than\n1% of the total runtime:\n\nEach sample counts as 0.01 seconds.\n % cumulative ... |
[
{
"msg_contents": "ERROR: function coalence(interval, interval) does not exist\n\nI'm guessing this is an oversight, right? Where would I go about fixing\nit?\n-- \nJim C. Nasby, Database Consultant decibel@decibel.org \nGive your computer some brain candy! www.distributed.net Team #1828\n\nWindo... |
[
{
"msg_contents": ">> This is a lot like what I was planning to work towards with the\n>> refactoring of the forkexec code I promised to do for 8.1.\n>\n>Cool. BTW, have we accepted that EXEC_BACKEND is the way we're \n>going to \n>workaround the lack of fork() on Win32 for the foreseeable future? I \n>mean, it... |
[
{
"msg_contents": "I was just doing some profiling of plpgsql record operations, and\nnoticed that an unreasonable amount of runtime was being consumed\nby palloc/pfree calls coming from CreateTupleDescCopy. The reason\nfor this of course is that each attribute's storage is separately\npalloc'd. This seems a ... |
[
{
"msg_contents": "\n\nPlease let me know, if there is any option in postgresql to achieve the\nfollowing usage of a b-tree index:\n\nFor a relation R(att0, att1) and a btree index on attribute att0\n\nIn each insertion of a tuple on table:\n- look on index if the value of att0 of new entry does already exist i... |
[
{
"msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1528\nLogged by: Peter Wright\nEmail address: pete@flooble.net\nPostgreSQL version: 7.4.7, 8.0.1\nOperating system: Debian Linux (unstable)\nDescription: Rows returned that should be excluded by WHERE cl... |
[
{
"msg_contents": "Hi\nI'm implementing a new join that needs 2 hash tables, one for each relation. \nI declared a\nnew type of node, DPHashJoin (with id T_DPHashJoin 121 at nodes.h) , which \nis by now the same as HashJoin\nplan node.I created a new plan with two Hash nodes, something that looks \nlike a symme... |
[
{
"msg_contents": "Andrew,\n\n> or 2.6.x ... in fact it's almost impossible to tell what might be\n> installed on a Gentoo system, or how it was compiled. So I'm really not\n> sure how we should treat such systems.\n\nDistribution, General OS, Kernel Version, Other Info\ne.g.\nSuSE\t\tLinux\t\t2.6.8-7\t64-Bit\n... |
[
{
"msg_contents": "Hi Tom,\n\n> I was profiling a case involving UPDATEs into a table with too many\nindexes (brought to > mind by mysql's sql-bench, about which more later) and\ngot this rather surprising result > for routines costing more than 1% of the\ntotal runtime:\n\n(cut)\n\n> I suppose that the bulk of... |
[
{
"msg_contents": "There's a requirement for the odbc, and jdbc drivers to be able to \nreturn generated keys. AFAIR implementing insert returning would solve \nthis problem.\n\nI think it still leaves us with a number of problems\n\n1) the code has to know in advance to issue the insert returning.\n2) also has... |
[
{
"msg_contents": "Is anything wrong with anoncvs.postgresql.org (66.98.251.159) or\nits connectivity? Attempts to reach it from two different network\nlocations elicit ICMP Host Unreachable from gphou-66-98-241-125.ev1.net\n(66.98.241.125).\n\n-- \nMichael Fuhr\nhttp://www.fuhr.org/~mfuhr/\n",
"msg_date":... |
[
{
"msg_contents": "Its there a reason postgresql doesn't record vacuum/analyze and dump times in pg_class (or another table). This seems\nlike it would be a very helpful feature.\n\nfor pg_dump I would add an option --record=YES|NO \nfor vacuum and analyze I would add a NORECORD|RECORD option\n\nJim\n\n",
... |
[
{
"msg_contents": "Hi all,\nrunning a 7.4.5 it happen to me with another table\nwhere a single vacuum full was not freeing enough pages,\nhere the verbose vacuum full, as you can see only at\nthe end: truncated 8504 to 621 pages.\n\nI use pg_autovacuum and it's not enough. I'll schedule\nagain a nightly vacuum... |
[
{
"msg_contents": "Hi all,\nrunning a 7.4.5 engine, I'm facing this bad plan:\n\n\nempdb=# explain analyze SELECT name,url,descr,request_status,url_status,size_mb,estimated_start,request_time_stamp\nempdb-# FROM v_sc_user_request\nempdb-# WHERE\nempdb-# ... |
[
{
"msg_contents": "Folks,\n\nAlthough the SQL:2003 command MERGE has not yet been implemented in\nPostgreSQL, I'm guessing that there are best practices for how to\nimplement the MERGE functionality.\n\nTo recap, MERGE means (roughly) INSERT the tuple if no tuple matches\ncertain criteria, otherwise UPDATE usin... |
[
{
"msg_contents": "Gaetano,\n\n> Hi all,\n> running a 7.4.5 engine, I'm facing this bad plan:\n\nPlease take this to the PGSQL-PERFORMANCE mailing list; that's what that list \nexists for.\n\nOr IRC, where I know your are sometimes. But not -Hackers.\n\nThanks!\n\n-- \nJosh Berkus\nAglio Database Solutions\nSa... |
[
{
"msg_contents": ">>> Perhaps you should rebuild the backend with -g (see --enable-debug) so\n>>> that gdb can actually be somewhat helpful. It's usually a good idea to\n>>> have --enable-cassert turned on when hacking C code, too. \n>>\n\nWhen I rebuilded the backend with --enable-debug and --enable-cassert\... |
[
{
"msg_contents": "Hello all,\n \nI have a table with a VARCHAR column that I need to convert to a BYTEA.\n \nHow do I cast VARCHAR to BYTEA?\n \nThe following doesn't seem to work as it yields the 'cannot cast varchar to\nbytea' error message:\n \n varchar_data::bytea\n \nOn the same topic, how do I do the ... |
[
{
"msg_contents": "Thank you, Tom.\n \nYes, the exact bytes in the varchar datum (without encoding) is what I would\nlike to become the bytes in the BYTEA.\n \nSo, how do I create a \"cast WITHOUT FUNCTION\" as you mention below? I assume\nplpgsql is required, right?\n \nIs there anyway this can be done in a VI... |
[
{
"msg_contents": "Hi there,\n\nI just noticed a little optimizer problem - in second query there is\nunused 'tycho t2' table alias which gets backend buried. This is \nartificial query, I just tried to check if optimizier could recognize\nthis.\n\ntycho=# explain analyze select t.pm_ra,t.pm_dec from tycho t wh... |
[
{
"msg_contents": "Here are two questions related to PG8.0.1:\n\n1. durability of \"create tablespace\" - what happens if several checkpoints\ndone after \"create tablespace\" then system crashes - without redo, will the\nPG_VERSION file and symlinks survive in win32? Seems checkpoint didn't sync\nthe content o... |
[
{
"msg_contents": "Running latest cvs on freebsd gives me errors in test strings and test \nerrors, and completely hangs at this point:\n\nparallel group (14 tests): limit prepare sequence copy2 truncate \nrowtypes polymorphism temp domain conversion rangefuncs without_oid \nalter_table\n\nChris",
"msg_dat... |
[
{
"msg_contents": "I'm experimenting with pgpool 2.51 on my Linux box runnung\ntwo postgresql backends: pg74:5432 and pg801:5433\n\nI configured pgpool to use pg74:5432 as primary backend and \npg801:5433 as second one. Pgpool is running on default port (9999) and\nI configured my web application to use it, so ... |
[
{
"msg_contents": "Simon, Neil, all:\n\n> IMHO calling this a \"foolishly written query\" is completely arbitrary. I\n> can imagine plenty of applications for which a cartesian join makes\n> sense. In this case the user didn't write the query they meant to write\n> -- but it is surely hopeless to prevent that i... |
[
{
"msg_contents": "Scenario:\nA user download a pre-built PostgreSQL 7.4.7 from somewhere and a \npre-built pljava distro from gborg. He gets everything running but \nsuddenly encounteres problems with the timetz type. PL/Java apparently \nreturn the time as zero. The problem is caused by the postgresql binary ... |
[
{
"msg_contents": "I encounter the similar problem in \"make check\" (win2k-mingw, 8.0.1). The\nregression test could randomly fail due to \"could not write block (Invalid\nargument)\" problem or could not \"remove file\" problem.\n\nRegards,\nQingqing\n\np.s. I believe this could be a potential serious problem... |
[
{
"msg_contents": "The current _pg_keypositions function generates the numbers from 1 to 32 \nusing a massive union, shouldn't it just use generate_series instead (to \nmake it faster/simpler)?\n\nChris\n",
"msg_date": "Thu, 10 Mar 2005 12:23:07 +0800",
"msg_from": "Christopher Kings-Lynne <chriskl@fami... |
[
{
"msg_contents": "-----Original Message-----\nFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\nSent: Wednesday, March 09, 2005 8:45 PM\nTo: Christopher Kings-Lynne\nCc: Kevin Brown; pgsql-hackers@postgresql.org\nSubject: Re: [HACKERS] We are not follo... |
[
{
"msg_contents": "Are we able to run more NIST tests now?\n\nhttp://www.itl.nist.gov/div897/ctg/sql_form.htm\n\nChris\n",
"msg_date": "Thu, 10 Mar 2005 15:10:19 +0800",
"msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>",
"msg_from_op": true,
"msg_subject": "NIST Test Suite"
}... |
[
{
"msg_contents": "\n> What that means is that neither the HAVING clause nor the targetlist\n> can use any ungrouped columns except within aggregate calls; that is,\n> \n> \tselect col from tab having 2>1\n\nInformix:\nselect tabname from systables having 2 > 1;\n 294: The column (tabname) must be in the GROU... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n(This is a repost because the original was send when I was not\nsubscribed to the list and it is still not approved - sorry if you\nreceived it already.)\n\n\nI have installed a script that executes vacuumdb for all DBs in my\ncluster (run by ... |
[
{
"msg_contents": "Just a quick test on the DBMS I have available at work.\n\n\nIBM Informix Dynamic Server Version 10.00.TC1TL\nError: The column (id) must be in the GROUP BY list.\n\nOracle 9.2.0.11\nReturns the same records as if where would be used.\n\nMSSQL Express 2005 Beta February TP\nError: Column 'tab... |
[
{
"msg_contents": "Hi,\n\nCan anybody know how the following statement work.\n\nGrant ALL on SCHEMA test to user 'user1';\n\nwill the user be able to have all the privileges on\nall the objects/tables on schema test? Or he can only\ncreate new objects in that schema.\n\nThanks\nPriya\n\n\n\t\n\t\t\n____________... |
[
{
"msg_contents": "Hello,\n\nI'd like to start working on the following TODO item:\nReferential Integrity / Support triggers on columns\n\nIs somebody else already working on this?\n\nBye :)\nChris.\n\n\n\n",
"msg_date": "Thu, 10 Mar 2005 18:06:42 +0100 (CET)",
"msg_from": "\"Chris Mair\" <list@1006.org... |
[
{
"msg_contents": "\n\nHi,\n\ni have a table:\n\ncreate table triples(\n\tatt0 varchar(1000),\n\tatt1 int4,\n\tatt2 varchar(20),\n\tatt3 varchar(1000)\n)\n\nMy table has 990 raws.\n\nThe (possibly wrong) way, with wich i compute the size of the table is:\natt0: 1000 * 1 Byte + 4 = 1004 Bytes\natt2: 20 * 1 Byte ... |
[
{
"msg_contents": "> Would those of you with access to other DBMSes try this:\n\n<snip>\n\n\nResults for \"Microsoft SQL Server 2000 - 8.00.944 (Intel X86)\":\n\n \n----------- \n\n(0 row(s) affected)\n\n \n----------- \n1\n\n(1 row(s) affected)\n\n\n(1 row(s) affected)\n\n\n(1 row(s) aff... |
[
{
"msg_contents": "Here is your Sql run in a DB2 database.\nconnect to phoenix\n\n Database Connection Information\n\n Database server = DB2/LINUX 8.1.5\n SQL authorization ID = GILL\n Local database alias = PHOENIX\n\n\ncreate table tab (col integer)\nDB20000I The SQL command completed successful... |
[
{
"msg_contents": "> \n> 990 * 2072 = 2,051,280 Bytes\n> \n> BUT after clustering triples according to an index on att1:\n> \n<snip>\n> \n> 142 * 8 * 1024 = 1,163,264 Bytes\n> \n> \n> Is there any compression or what?\n> \n\nvarchar means 'character varying'. What varies is the length. So a\nvarchar(1000) with ... |
[
{
"msg_contents": "On Oracle 9.2 you get 0, 0, 0, and 2 rows.\n\n--Barry\n\n\nSQL> create table tab (col integer);\n\nTable created.\n\nSQL> select 1 from tab having 1=0;\n\nno rows selected\n\nSQL> select 1 from tab having 1=1;\n\nno rows selected\n\nSQL> insert into tab values (1);\n\n1 row created.\n\nSQL> i... |
[
{
"msg_contents": "All,\n\n\tI visited #postgresql @ FreeNode and asked about how to make pg use pam \nabout a week ago (specifically I wanted to auth against LDAP). I was \ntold to figure it out and write a doc...\n\nHere is my attempt at doing so: http://itc.musc.edu/wiki/PostGreSQL\n\nPlease review for acc... |
[
{
"msg_contents": "\n\nHi, i found this form of output of explain analyze, watching some old\nmails in lists.\n\ntest4=# explain analyze select * from patients;\nLOG: query: explain analyze select * from patients;\nLOG: duration: 0.603887 sec\nLOG: QUERY STATISTICS\n! system usage stats:\n! 0.624269 el... |
[
{
"msg_contents": "Are we still bumping the libpq major version number for 8.0.2? I think\nit is a bad idea because we will require too many client apps to be\nrecompiled, and we have had few problem reports.\n\nWe do need to bump the major version number for 8.1 and I am doing that\nnow.\n\nOne new problem I ... |
[
{
"msg_contents": "pgman wrote:\n> Peter Eisentraut wrote:\n> > Bruce Momjian wrote:\n> > > Are we still bumping the libpq major version number for 8.0.2?\n> > \n> > Yes.\n> > \n> > > I \n> > > think it is a bad idea because we will require too many client apps\n> > > to be recompiled,\n> > \n> > That is not tr... |
[
{
"msg_contents": "Hi all,\n\nI'm thinking about \"partial (or range) vacuum\" feature.\n\nAs you know, vacuum process scans and re-organizes a whole table,\nso huge cpu load will be generated when vacuuming a large table,\nand it will take long time (in some cases, it may take 10 minutes\nor more).\n\nHuge vac... |
[
{
"msg_contents": "The PostgreSQL docs suggest that ftp.postgresql.org holds binary builds \nof CVSup:\n\nhttp://developer.postgresql.org/docs/postgres/cvsup.html\n\nIs this still the case? (I couldn't see any cvsup binaries, but perhaps \nthey are well-hidden).\n\n-Neil\n",
"msg_date": "Sat, 12 Mar 2005 18... |
[
{
"msg_contents": "Hi there,\n\nI noticed client error logging was changed in REL8_0_STABLE in compare with\n8.0.1 release.\n\n8.0.1:\ntycho=# select * from pg_stas where srelnae='tycho';\nERROR: relation \"pg_stas\" does not exist\ntycho=# \\q\n\nREL8_0_STABLE:\ntycho=# select * from pg_stas where srelnae='t... |
[
{
"msg_contents": "Hi,\n\nI would like know about the value stored for null value for fields date \nand timestamp.\n\nSample\n SQL Server 1753/01/01\n Oracle 0001/01/01\n Informix 1899/01/01\nVisual Foxpro DBF 1899/12/30\n\nI used a tool for migrate datab... |
[
{
"msg_contents": "Hi All, \n\nI want to descibe some strange behaviour of the postgres planner.\n\n\nI have 2 tables:\n\nwsdb=# \\d q3c\n Table \"public.q3c\"\n Column | Type | Modifiers \n--------+--------+-----------\n ipix | bigint | \n errbox | box | \n ra | real | \n dec | real | \nI... |
[
{
"msg_contents": "I have updated the documentation on encodings to more closely match our\ncode, added descriptions, and a list of aliases for encodings. I also\nreorderd the lists to they were alphabetical. Look here to see the\nresults:\n\n\thttp://candle.pha.pa.us/main/writings/pgsql/sgml/multibyte.html\n... |
[
{
"msg_contents": "Hi all,\n\nI am new to PostgreSQL and query optimizations. We have recently moved \nour project from MySQL to PostgreSQL and we are having performance \nproblem with one of our most often used queries. On MySQL the speed was \nsufficient but PostgreSQL chooses time expensive query plan. I wou... |
[
{
"msg_contents": "Hey All,\n\nI goofed with the patch I submitted last year for adding 'week' capability to\nthe date_trunc function.\n\nAttached is a patch against HEAD for your review.\n\nCheers,\nRob\n\n-- \n 11:00:49 up 47 days, 16:17, 4 users, load average: 3.01, 2.37, 2.37\nLinux 2.6.5-02 #8 SMP Mon Ju... |
[
{
"msg_contents": "Hi!\n\nI'm pluggin ICU into PostgreSQL for unicode collation, since FreeBSD has no \nsupport for unicode collation. It works fine, but I cannot find out where \nto set the default locale for each backend instance. I want to use the \nLC_COLLATE used in initdb, now I've just hard wired it for ... |
[
{
"msg_contents": "Hi there,\n\nI read Jonathan Gardner's \nhttp://jonathangardner.net/PostgreSQL/materialized_views/matviews.html\nand wondering if there some works on mat.views ?\n\nI found academic project http://research.csc.ncsu.edu/selftune/\nwhich has implementation of matviews in postgresql 7.3.4.\nCode... |
[
{
"msg_contents": "We have the following definition in fd.c:\n\ntypedef struct vfd\n{\n signed short fd; /* current FD, or VFD_CLOSED if none */\n ...\n} Vfd;\n\nbut seems we use Vfd.fd as an integer, say in fileNameOpenFile() we have:\n\n vfdP->fd = BasicOpenFile(fileName, fileFlags, fileMode);\n\nSo is ther... |
[
{
"msg_contents": "PostgreSQL should invalidate a cached query plan when one of the objects\nthe plan depends upon is modified.\n\nThis is the common case of a more general problem: a query plan depends\non various parts of the environment at plan-creation time. That\nenvironment includes the definitions of dat... |
[
{
"msg_contents": "Hi,\n\nUsing libpq PQconnect function, what is the syntax for the 'options' \nentry in the conninfo? I think the docs should be updated to give an \nexample..\n\nhttp://www.postgresql.org/docs/8.0/interactive/libpq.html#LIBPQ-CONNECT\n\nThanks,\n\nChris\n",
"msg_date": "Mon, 14 Mar 2005 ... |
[
{
"msg_contents": "Will PQexecParams automatically escape bytea data as it goes in, or must \none run it through PQescapeBytea first?\n\nChris\n",
"msg_date": "Tue, 15 Mar 2005 14:02:58 +0800",
"msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>",
"msg_from_op": true,
"msg_subject... |
[
{
"msg_contents": "I'm currently adding support for the v3 protocol in PHP pgsql extension. \n I'm wondering if anyone minds if I lift documentation wholesale from \nthe PostgreSQL docs for the PHP docs for these functions. For instance, \nthe fieldcodes allowed for PQresultErrorField, docs on \nPQtransaction... |
[
{
"msg_contents": "interfaces/libpq/fe-auth, line 621-622:\n<<snip>>\n\t\t\tif (pg_krb5_sendauth(PQerrormsg, conn->sock,\n\t\nhostname) != STATUS_OK)\n\t\t\t{\n\t\t\t\tsnprintf(PQerrormsg, PQERRORMSG_LENGTH,\n\t\t\t\t\tlibpq_gettext(\"Kerberos 5\nauthentication failed\\n\"));\n\t\t\t\tpgunlock_thread();\n\t\t\t... |
[
{
"msg_contents": "I'm trying to compile CVS HEAD on Win32.\n\n./configure --enable-integer-datetimes\nmake\n...\nIt ends with:\n\npostmaster/SUBSYS.o(.text+0x9d7):fork_process.c: undefined reference to \n`fork'\n\ngcc --version and uname -a\ngcc.exe (GCC) 3.4.1 (mingw special)\nMINGW32_NT-5.1 THHALHOME3 1.0.11... |
[
{
"msg_contents": "Hi,\n\nIs it possible to convert palloc back to malloc?\nIf so, what should I do to make the change?\n\nMany Thanks,\nHai\n\n\n\t\t\n__________________________________ \nDo you Yahoo!? \nYahoo! Small Business - Try our new resources site!\nhttp://smallbusiness.yahoo.com/resources/ \n",
"m... |
[
{
"msg_contents": "\n... is apparently broken for Windows and Cygwin. See for example\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=loris&dt=2005-03-16%2001:55:33\ncheers\n\nandrew\n\n\n",
"msg_date": "Tue, 15 Mar 2005 20:50:32 -0600 (CST)",
"msg_from": "\"Andrew Dunstan\" <andrew@dunslane.net>",
... |
[
{
"msg_contents": "This is a much discussed topic, which always boils down to grabbing\nindexes from disk.\n\nAt the moment we have bgwriter periodically flushing parts of the dirty\nbuffers to disk on a periodic basis. Would it be possible to have the\nbgwriter take a look at the pages it has, and see if it ca... |
[
{
"msg_contents": "Hi everybody,\n\nI've just run into a seemingly strange behaviour of postgresql and I'd like to\nknow if it's normal or what.\n\nI've got a table \"operation\" in which there _isn't_ any column\n\"id_compte\".\nSo when i do :\n\"select id_compte from operation where not compta_g5;\"\nI have :... |
[
{
"msg_contents": "On postgresql-8.0.0 I've faced a *really* weird behavior.\n\nA simple query (single table - simple function call - no index),\nmakes postgres process grow about as much as the memory size required\nto keep ALL rows in memory.\n\nThe invoked procedure call doesn't leak.\nIt's IMMUTABLE.\nCalls... |
[
{
"msg_contents": "Hi all,\n\nI've read TODO list in the 8.0.1,\nthen I'm interested in the following topic.\n\n> * Allow a warm standby system to also allow read-only queries\n\nDoes anyone have any plan to work on this?\n\nI think we need to extend the pg_database catalog to\nhave a database state (read-only ... |
[
{
"msg_contents": "> >>Will PQexecParams automatically escape bytea data as it goes in, or\nmust\n> >>one run it through PQescapeBytea first?\n> >\n> > Neither. The data does not need escaping (assuming you pass it as a\n> > parameter, of course.)\n> \n> Even binary data? ie. You could upload a binary string ... |
[
{
"msg_contents": "Hello,\n\nHow do you encrypt() & decrypt() data of types INT4 or DATE?\n\nThe PGCrypto methods encrypt() and decrypt() each take BYTEA as input:\n\ni.e.,\n encrypt( data::bytea, key::bytea, type::text)\n decrypt( data::bytea, key::bytea, type::text)\n\nSo how do you convert INT4 and DAT... |
[
{
"msg_contents": "> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> >> Even binary data? ie. You could upload a binary string straight\ninto\n> >> PQexecParams with no octal conversion?\n> \n> > Well, what it means you do not have to escape data at the protocol\nlevel\n> > you don't have to be co... |
[
{
"msg_contents": "I have some test code that utilize SPI and does the following:\n\n1. SPI_connect\n2. set a savepoint (using BeginInternalSubTransaction)\n3. execute a statement that contains a syntax error (within PG_TRY/PG_CATCH)\n4. rollback to the savepoint (RollbackAndReleaseCurrentSubTransaction)\n5. ex... |
[
{
"msg_contents": "You can't just randomly rearrange the pg_enc enum without forcing an\ninitdb, because the numeric values of the encodings appear in system\ncatalogs (eg pg_conversion).\n\n\t\t\tregards, tom lane\n",
"msg_date": "Wed, 16 Mar 2005 16:57:15 -0500",
"msg_from": "Tom Lane <tgl@sss.pgh.pa.... |
[
{
"msg_contents": "Hi,\ni want to add support for oracle exception's like\nno_data in plpgsql, can anybody guide me on this.\n\nRegards,\nAsif Ali.\n\n__________________________________________________\nDo You Yahoo!?\nTired of spam? Yahoo! Mail has the best spam protection around \nhttp://mail.yahoo.com \n",
... |
[
{
"msg_contents": "> >> I'd like to see this one also considered for 8.0.x, though I'd \n> >> certainly like to see some more testing as well. Perhaps it's \n> >> suitable for the \"8.0.x with extended testing\" that is planned for \n> >> the ARC replacement code?\n> >>\n> >> It does make a huge difference on w... |
[
{
"msg_contents": "> > > > * Win32, with fsync, write-cache disabled: no data corruption\n> > > > * Win32, with fsync, write-cache enabled: no data corruption\n> > > > * Win32, with osync, write cache disabled: no data corruption\n> > > > * Win32, with osync, write cache enabled: no data \n> corruption. Once \n... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Bruce Momjian\n> Sent: 17 March 2005 04:20\n> To: Magnus Hagander\n> Cc: Tom Lane; pgsql-hackers@postgresql.org; \n> pgsql-hackers-win32@postgresql.org; M... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Marc \n> G. Fournier\n> Sent: 17 March 2005 05:32\n> To: Bruce Momjian\n> Cc: Magnus Hagander; Tom Lane; pgsql-hackers@postgresql.org; \n> pgsql-hackers-w... |
[
{
"msg_contents": "Right now in postgres it is impossible to hide stored procedure source\ncode from non-privileged users...namely the prosrc column of the pg_proc\ntable. For those of you in a hurry skip to the summary at the end :-).\n\n\n From my point of view (not sure if others would agree), it would be n... |
[
{
"msg_contents": "> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > 1. Am I totally off my rocker for suggesting users without 'execute'\n> > priv. should not be able to view procedure source.\n> \n> 1. I don't particularly buy that, no. Why draw the line at seeing\n> source code? The mere nam... |
[
{
"msg_contents": "> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > However, I'm a little unclear about where you stand on the relative\n> > merit (whatever the implementation) of hiding at the very least\nprosrc\n> > from non-priv users.\n> \n> OK, in words of one syllable: I'm agin it.\n> I th... |
[
{
"msg_contents": "The default should clearly be the safest method.\n\nPersonally, I would disable anything but the safest method for all\ndatabase files that are not read-only.\n\nIMO-YMMV.\n-----Original Message-----\nFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Beh... |
[
{
"msg_contents": "\nFirst the good news. After several false tries I managed to get gettext\nand friends installed on MinGW so that I could get past configure when I\nset \"--enable-nls\". I did this by installing (in this order) the\nfollowing packages from\nhttp://sourceforge.net/project/showfiles.php?group_... |
[
{
"msg_contents": "Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> Tom Lane wrote:\n>> ISTM Windows' idea of fsync is quite different from Unix's and therefore\n>> we should name the wal_sync_method that invokes it something different\n>> than fsync. \"write_through\" or some such?\n\n> Ah, I remember now. ... |
[
{
"msg_contents": "Last fall I proposed a minor tweak to solve the problem of Postgres\nnot restarting after a system reboot, in cases where it looked at the\nold lockfile and thought the old postmaster was still alive:\nhttp://archives.postgresql.org/pgsql-hackers/2004-09/msg00935.php\n\nHowever it turns out t... |
[
{
"msg_contents": "\nIs one supposed to be able to alter the type of a table whose definition\nhas been used A composite in another table? Somewhat surprisingly to\nme, the following test did not produce an error:\n\ncreate table a( x text, y int);\ncreate table b( z a);\ninsert into b values('(\\'aaa\\',3)');... |
[
{
"msg_contents": "set pgsql-hackers nomail\n",
"msg_date": "Thu, 17 Mar 2005 18:08:03 -0500",
"msg_from": "Juan Pablo Espino <jp.espino@gmail.com>",
"msg_from_op": true,
"msg_subject": ""
},
{
"msg_contents": "Sorry it was for majordomo@postgresql.org.\n\n\nOn Thu, 17 Mar 2005 18:08:03 ... |
[
{
"msg_contents": "I'm having trouble with physical growth of postgresql system tables. \nServer is 7.4.6 and there are several databases in the cluster. The \nautovacuum daemon has been running since the data was restored after \nan upgrade a few months ago. Unfortunately my system tables are \ntaking an unrea... |
[
{
"msg_contents": "I've tracked down a row that is failing:\n\nmaia=# select id FROM table WHERE id = 1401765;\nERROR: could not access status of transaction 1634148473\nDETAIL: could not open file \"/data1/pgsql/data/pg_clog/0616\": No such \nfile or directory\n\ndb=# vacuum maia_mail;\nWARNING: relation \"... |
[
{
"msg_contents": "I recieved this report of a failing set of queries:\n\n\tBEGIN;\n\tCREATE TABLE a (i INT);\n\tINSERT INTO a VALUES(1);\n\tDECLARE acur CURSOR FOR SELECT * FROM a;\n\tFETCH acur;\n\t\\q\n\nIt certainly looks like a simple set of queries.\n\nIf this is done in 8.0.X the server shows:\n\t\n\tFAT... |
[
{
"msg_contents": "I've been taking a look at how to stop the planner from scribbling on \nits input. This is my first modification of any significance to the \nplanner, so don't hesitate to tell me what I've gotten wrong :)\n\nI think the planner makes two kinds of modifications to the input Query: \n(a) rewri... |
[
{
"msg_contents": ">From src/backend/tcop/postgres.c:\n\n appendStringInfo(&str,\n \"!\\t%ld/%ld [%ld/%ld] filesystem blocks in/out\\n\",\n r.ru_inblock - Save_r.ru_inblock,\n /* they only drink coffee at dec */\n r.ru_oublock - Save_r.ru_oublock... |
[
{
"msg_contents": "Hi all,\n\nIn the OLE DB code there is code for parsing timestamps received from \nthe server. This code behaves erratically. Upon further examination, I \nfound the following piece of code in Postgresql's \"timestamp2tm\":\n\n> #ifdef HAVE_INT64_TIMESTAMP\n> dt -= CTimeZone * INT64CO... |
[
{
"msg_contents": "Hi all,\n\nVersion 1.0.0.18 of OLE DB has just been uploaded to gborg. This is a \nmajor upgrade than the previous versions, with most types now handled \n(the #1 complaint about OLE DB thus far). As far as my understanding \ngoes, this version solves almost all of the problems that surfaced ... |
[
{
"msg_contents": " i am trying to find that which file/function is\nactually printing the QueryResults from\nExecutor..Please help\n\nThanks\nZahid \n\n\n\t\t\n__________________________________ \nDo you Yahoo!? \nMake Yahoo! your home page \nhttp://www.yahoo.com/r/hs\n",
"msg_date": "Fri, 18 Mar 2005 05:1... |
[
{
"msg_contents": "> On Thu, 2005-03-17 at 13:36 -0500, Merlin Moncure wrote:\n> > However, I still maintain that views are the perfect security\nmechanism\n> > for system catalogs. Imagine that all the system catalogs were all\n> > views, and could be redefined or even dropped by the dba. They\nwould\n> > pr... |
[
{
"msg_contents": "\n>From src/backend/tcop/postgres.c:\n>> /* they only drink coffee at dec */\n\nTcop might be pronounced \"tea-cop\"\n\nIOW, 'We are the tea police.\"\n\nIn order to be sure what it means, I think you would have to ask the\noriginal author of the quote.\n-----Original Message-----\nFrom: ... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-www-owner@postgresql.org \n> [mailto:pgsql-www-owner@postgresql.org] On Behalf Of Marc G. Fournier\n> Sent: 18 March 2005 15:57\n> To: Tom Lane\n> Cc: Michael Fuhr; pgsql-www@postgresql.org; \n> pgsql-hackers@postgresql.org\n> Subject: Re: [pgs... |
[
{
"msg_contents": "Hi,\n\nBernd and myself are working in updateable views, one thing we find is\nthat when we have something like:\n\ncreate table foo (\n col1 serial,\n col2 text default 'default'\n);\n\ncreate view vfoo as select * from foo;\n\nthen we create the appropiate rules for allow INSE... |
[
{
"msg_contents": "Tom Lane wrote:\n> That means we can go ahead with providing a GUC variable to make the\n> array size user-selectable. I was thinking of calling it either\n> \"local_buffers\" (in contrast to \"shared_buffers\") or \"temp_buffers\"\n> (to emphasize the fact that they're used for temporary ta... |
[
{
"msg_contents": "Specs:\n\n7.3.6 machine Dual Athlon MP\n 2 GIG of ram,\n 4 Drive IDE (3ware) RAID 10\n OS FC1 with 2.4 kernel\n\n7.4.6 machine Dual Opteron MP (64bit PostgreSQL),\n 2 Gig of Ram\n 10 Drive RAID 10 with 128 Meg battery backed cache (3WARE).\n OS FC3 x86_64 with 2.6 kernel\n\nEssent... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.