Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
322d65c1
Commit
322d65c1
authored
24 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
UPdate developers faq
parent
7bd58b47
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/FAQ_DEV
+11
-10
11 additions, 10 deletions
doc/FAQ_DEV
doc/src/FAQ_DEV.html
+9
-10
9 additions, 10 deletions
doc/src/FAQ_DEV.html
with
20 additions
and
20 deletions
doc/FAQ_DEV
+
11
−
10
View file @
322d65c1
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Fri
Dec 24 11:43:42
E
S
T
1999
Last updated: Fri
Jun 9 21:54:54
E
D
T
2000
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
@@ -91,11 +91,11 @@ s
...
@@ -91,11 +91,11 @@ s
or
or
; Cmd to set tab stops &etc for working with PostgreSQL code
; Cmd to set tab stops &etc for working with PostgreSQL code
(c-add-style "pgsql"
(c-add-style "pgsql"
'("bsd"
'("bsd"
(indent-tabs-mode . t)
(indent-tabs-mode . t)
(c-basic-offset . 4)
(c-basic-offset . 4)
(tab-width . 4)
(tab-width . 4)
(c-offsets-alist .
(c-offsets-alist .
((case-label . +))))
((case-label . +))))
t) ; t = set this mode on
t) ; t = set this mode on
...
@@ -309,8 +309,8 @@ c-mode)
...
@@ -309,8 +309,8 @@ c-mode)
you to query the system catalogs. This is the preferred way to access
you to query the system catalogs. This is the preferred way to access
system tables, because the first call to the cache loads the needed
system tables, because the first call to the cache loads the needed
rows, and future requests can return the results without accessing the
rows, and future requests can return the results without accessing the
base table.
Some of t
he caches use system table indexes to look up
base table.
T
he caches use system table indexes to look up
tuples. A
tuples. A
list of available caches is located in
list of available caches is located in
src/backend/utils/cache/syscache.c.
src/backend/utils/cache/syscache.c.
src/backend/utils/cache/lsyscache.c contains many column-specific
src/backend/utils/cache/lsyscache.c contains many column-specific
cache lookup functions.
cache lookup functions.
...
@@ -353,11 +353,12 @@ c-mode)
...
@@ -353,11 +353,12 @@ c-mode)
is to use heap_tuplemodify() and pass it your palloc'ed tuple, and the
is to use heap_tuplemodify() and pass it your palloc'ed tuple, and the
values you want changed. It returns another palloc'ed tuple, which you
values you want changed. It returns another palloc'ed tuple, which you
pass to heap_replace(). You can delete tuples by passing the tuple's
pass to heap_replace(). You can delete tuples by passing the tuple's
t_self to heap_destroy(). Remember, tuples can be either system cache
t_self to heap_destroy(). You can use it for heap_update() too.
versions, which may go away soon after you get them, buffer cache
Remember, tuples can be either system cache versions, which may go
version, which will go away when you heap_getnext(), heap_endscan, or
away soon after you get them, buffer cache versions, which go away
ReleaseBuffer(), in the heap_fetch() case. Or it may be a palloc'ed
when you heap_getnext(), heap_endscan, or ReleaseBuffer(), in the
tuple, that you must pfree() when finished.
heap_fetch() case. Or it may be a palloc'ed tuple, that you must
pfree() when finished.
10) What is elog()?
10) What is elog()?
...
...
This diff is collapsed.
Click to expand it.
doc/src/FAQ_DEV.html
+
9
−
10
View file @
322d65c1
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
</H1>
<P>
<P>
Last updated: Fri
Dec 24 11:43:42
E
S
T
1999
Last updated: Fri
Jun 9 21:54:54
E
D
T
2000
<P>
<P>
Current maintainer: Bruce Momjian (
<a
Current maintainer: Bruce Momjian (
<a
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</a>
)
<BR>
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</a>
)
<BR>
...
@@ -113,15 +113,14 @@ tabs as four spaces:
...
@@ -113,15 +113,14 @@ tabs as four spaces:
M-x set-variable tab-width
M-x set-variable tab-width
or
or
; Cmd to set tab stops
&
etc for working with PostgreSQL code
; Cmd to set tab stops
&
etc for working with PostgreSQL code
(defun pgsql-mode ()
(c-add-style "pgsql"
"Set PostgreSQL C indenting conventions in current buffer."
'("bsd"
(interactive)
(indent-tabs-mode . t)
(c-mode) ; necessary to make c-set-offset local!
(c-basic-offset . 4)
(setq tab-width 4) ; already buffer-local
(tab-width . 4)
; (setq comment-column 48) ; already buffer-local
(c-offsets-alist .
(c-set-style "bsd")
((case-label . +))))
(c-set-offset 'case-label '+)
t) ; t = set this mode on
)
and add this to your autoload list (modify file path in macro):
and add this to your autoload list (modify file path in macro):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment