aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-02-17 10:19:30 -0500
committerRobert Haas <rhaas@postgresql.org>2015-02-17 10:54:29 -0500
commit9a90ec9cff34168994f5d544c2c3cc1b1ae21277 (patch)
tree7914782e2d4116f830fe86242ee7640fd04870c6 /src/tutorial/basics.source
parent7bc6e59546db93d975723cff7f19f3bffcefef6b (diff)
downloadpostgresql-9a90ec9cff34168994f5d544c2c3cc1b1ae21277.tar.gz
postgresql-9a90ec9cff34168994f5d544c2c3cc1b1ae21277.zip
Improve pg_check_dir code and comments.
Avoid losing errno if readdir() fails and closedir() works. Consistently return 4 rather than 3 if both a lost+found directory and other files are found, rather than returning one value or the other depending on the order of the directory listing. Update comments to match the actual behavior. These oversights date to commits 6f03927fce038096f53ca67eeab9adb24938f8a6 and 17f15239325a88581bb4f9cf91d38005f1f52d69. Marco Nenciarini
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions